Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 7,740 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Anyone can help to generate the regular expression for the desc ?
ECMAScript (JavaScript)
Hi All, We got a database column which saving the table definition as patten string below. How can I extract the column & libelle information out of the string by using regular expression ? Thanks a lot ! c:{k:16:PERIODDEFINITION;c:{k:8:REVENUE1;c:{k:6:COLUMN;s:8:REVENUE1;k:7:LIBELLE;s:23:Revenue ...
Submitted by
anonymous
-
9 years ago
2015-03-04 12:05
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Multiple matches in php but only one in javascript
ECMAScript (JavaScript)
I have used this regexp succesfully in php with flags gmU and have multiple matches. In js there is no U flag and this only returns last match. Is there anything I can do to make this work similarly in javascript?
Submitted by
yorogs
-
9 years ago
2015-03-03 08:52
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
cross platform file extension in node/io.js
ECMAScript (JavaScript)
This regex will match the file extension on any platform in node.js or io.js.
Submitted by
Russell Dempsey
-
9 years ago
2015-03-03 03:04
-3
2 upvotes, 5 downvotes (score 8.2%) (You must be signed in to vote)
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-28 10:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Cleveland, OH
ECMAScript (JavaScript)
CLeveland, OH ||| SanDiego, CA this regex will pick up on those
Submitted by
anonymous
-
9 years ago
2015-02-22 17:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
help?
Python
no description available
Submitted by
anonymous
-
9 years ago
2015-02-21 17:05
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Get video parameters from many video services at once
ECMAScript (JavaScript)
supported youtube, vimeo, face liveleak, break, ebaums, facebook support url and iframes
Submitted by
Misthero
-
9 years ago
2015-02-20 11:12
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Simple Date regex
ECMAScript (JavaScript)
With format dd/MM/yyyy
Submitted by
Magador
-
9 years ago
2015-02-17 12:40
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
HTML5 time entry regex
ECMAScript (JavaScript)
This regex can be used within a HTML5 input tag to ensure a time has been entered correctly such as 23:40 or 11:40 PM.
Submitted by
Scott Mebberson
-
9 years ago
2015-02-17 06:02
-1
5 upvotes, 6 downvotes (score 21.3%) (You must be signed in to vote)
woop
Python
no description available
Submitted by
anonymous
-
9 years ago
2015-02-15 22:12
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
match arguments similar to shell, supports quoted string
ECMAScript (JavaScript)
first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a \"string\"" thisisnot "another \"string\" with a backslash \"\\"" just replace \" with " after matching.
Submitted by
anonymous
-
9 years ago
2015-02-13 03:07
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
CNPJ - brazilian company identifier number
ECMAScript (JavaScript)
Matches CNPJ, which is an identification number issued to Brazilian companies.
Submitted by
Uilian Souza
-
9 years ago
2015-02-11 13:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
SIP Address Validator
ECMAScript (JavaScript)
This Regular Expression Validates SIP Addresses
Submitted by
Tarun Telang, Sanjay Sinha
-
9 years ago
2015-02-11 11:56
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
deviantart scrape search results
Python
Scrape DeviantArt's search page HTMl to extract the category, the id, the user and the image url of each post.
Submitted by
nelieru
-
9 years ago
2015-02-10 02:38
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Parse Portuguese Frequency dictionary
Python
The following is a dictionary of 4991 portuguese words ordered by frequency. I need the file to have just number of line and word like the following 11 lines of example. So I need to delete all lines that don't start with a number and delete everything after number and word. Also delete all lines wi...
Submitted by
alfacent
-
9 years ago
2015-02-09 18:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract video code from YouTube URL
ECMAScript (JavaScript)
no description available
Submitted by
@uimanwashere
-
9 years ago
2015-02-09 16:16
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
regex101-8846 on #regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2015-02-07 19:43
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
check phone number(Taiwan)
Python
If pattern match, then this number probably is a phone number in Taiwan.
Submitted by
Assalin
-
9 years ago
2015-02-03 05:54
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Smart Target Blank
ECMAScript (JavaScript)
Allow you to check if the JavaScript location.pathname is a link required adding a target="_blank".
Submitted by
Bruno Lesieur
-
9 years ago
2015-02-02 16:57
-2
2 upvotes, 4 downvotes (score 9.7%) (You must be signed in to vote)
python bracketed text
Python
why doesn't this match text in brackets?
Submitted by
anonymous
-
9 years ago
2015-01-27 21:53
1
...
372
373
374
375
376
377
378
...
387