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 5,600 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Outside attr keyword
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-13 01:55
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
JSON Double Quoting
ECMAScript (JavaScript)
Insert double quotes between matches around colons. You need to wrap substition.substr(1)+'"' with parenthesis afterwards. (substr is needed to remove hanging doublequote at the start of the string) ex) var json = '{ '+json_ish.replace(regex,subs).substr(1)+'" }'; ...
Submitted by
anonymous
-
8 years ago
2015-10-13 01:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
sumary-title
ECMAScript (JavaScript)
sumary-title
Submitted by
Jay
-
8 years ago
2015-10-12 17:54
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match all but global.css
ECMAScript (JavaScript)
Match all but .global.css
Submitted by
Dan Compton
-
8 years ago
2015-10-12 16:45
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
APACHE_ACCESS_LOG_PATTERN
Python
Used in lab2 spark for pyspark access log pattern recognition
Submitted by
anonymous
-
8 years ago
2015-10-12 15:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
capture balisephp
ECMAScript (JavaScript)
it's to use to get all tags. not easy to implement because some link in php with ? or > can make trouble to get the closure ?>
Submitted by
simon
-
8 years ago
2015-10-12 12:47
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
capture balisephp
ECMAScript (JavaScript)
it's to use to get all tags. not easy to implement because some link in php with ? or > can make trouble to get the closure ?>
Submitted by
simon
-
8 years ago
2015-10-12 12:47
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
first word until whitespace/linebreak
ECMAScript (JavaScript)
no description available
Submitted by
jpeldes
-
8 years ago
2015-10-12 09:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
klr header
ECMAScript (JavaScript)
no description available
Submitted by
petergdoyle
-
8 years ago
2015-10-10 21:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
pm-problem
ECMAScript (JavaScript)
pm
Submitted by
creamidea
-
8 years ago
2015-10-10 08:45
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
iso 8601
ECMAScript (JavaScript)
no description available
Submitted by
phyng
-
8 years ago
2015-10-10 03:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ICD-10-CM
ECMAScript (JavaScript)
ICD-10-CM Diagnosis Codes
Submitted by
anonymous
-
8 years ago
2015-10-09 16:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ICD-10-PCS
ECMAScript (JavaScript)
ICD-10-PCS Procedure code
Submitted by
anonymous
-
8 years ago
2015-10-09 16:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract AWS accountId from user arn
ECMAScript (JavaScript)
Extract AWS accountId from user arn given by get-user action
Submitted by
AlexanderC
-
8 years ago
2015-10-09 01:00
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Get 'value' attribute in 'a' html tag
ECMAScript (JavaScript)
Regex used to avoid text-angular/angular $sanitize temporarily
Submitted by
Derek Severson
-
8 years ago
2015-10-08 20:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Primeros N Caracteres
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-08 20:27
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Email ID-Full Validation
ECMAScript (JavaScript)
This Regx has full validation of a standard email ID
Submitted by
Eric Abraham
-
8 years ago
2015-10-08 19:50
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Email ID
ECMAScript (JavaScript)
Full Validation of Email ID
Submitted by
Eric Abraham
-
8 years ago
2015-10-08 19:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Belgian phone number
ECMAScript (JavaScript)
Validate belgian common phone numbers (simple landline and mobile only, no special/free/premium numbers)
Submitted by
Marty
-
8 years ago
2015-10-08 19:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
translates regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2015-10-08 14:15
1
...
242
243
244
245
246
247
248
...
280
Extract currency with currency symbol if present
7
8 upvotes, 1 downvotes (score 56.5%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
(
[
£
\$
]
)*
(
[
\d
,.
]
*
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
Simon Gardner
-
8 years ago
2015-09-11 11:35