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 12,760 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CSS to Reagent
ECMAScript (JavaScript)
Transforms standart CSS rules to Reagents {:style{}}
Submitted by
Ugis
-
7 years ago
2016-05-16 23:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Negative regex for block of text
ECMAScript (JavaScript)
This will make sure a certain regex does not exist in a block of text, that includes new lines
Submitted by
Mandeep Rai
-
7 years ago
2016-05-16 20:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
XML URL
ECMAScript (JavaScript)
validates an xml URL. Allows ips and domain names
Submitted by
allofus
-
7 years ago
2016-05-16 14:59
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
汉字匹配
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-16 14:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match a string only for a percentage number
PCRE (PHP <7.3)
This regex checks if a string contains a number that ends with a "%" character ignoring all other cases. 96% -> accept 96.6% -> accept kk% -> Reject 96%% -> Reject
Submitted by
Krishna
-
7 years ago
2016-05-16 12:16
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Match 24H time
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-16 11:56
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
AsDate
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-16 03:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Australian BSB
PCRE (PHP <7.3)
Matches Australian BSB numbers
Submitted by
Michael Fishpool
-
7 years ago
2016-05-15 22:55
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
4 digits
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-15 20:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Reqursive concrete chunk
PCRE (PHP <7.3)
(?R) Alternative
Submitted by
lexus.1995@mail.ru
-
7 years ago
2016-05-15 12:03
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Outcode Extraction
PCRE (PHP <7.3)
Outcode extraction for UK postcode
Submitted by
Begbaaji
-
7 years ago
2016-05-15 10:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
File Extensions for NodejS recoginition for madge
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-15 00:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Accounting Numeric Format
PCRE (PHP <7.3)
ACCEPTS ONE DASH "-" IN FRONT. ACCEPTS ONE PERIOD "." AFTER NUMBERS. ACCEPTS COMMAS. DOES NOT ACCEPT PARENTHESIS "()".
Submitted by
anonymous
-
7 years ago
2016-05-14 23:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match the value of a given parameter in a query string
PCRE (PHP <7.3)
no description available
Submitted by
Guido W. Pettinari
-
7 years ago
2016-05-14 21:13
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lua Module Matching
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-14 16:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CPS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-14 16:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Experimental
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-14 12:55
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
zip Ile de France
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-14 09:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ReporteController
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
2016-05-13 19:35
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
parse username with @ mention
PCRE (PHP <7.3)
no description available
Submitted by
Laracasts
-
7 years ago
2016-05-13 19:04
1
...
450
451
452
453
454
455
456
...
638
UPE Coding Style Checker
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
(
[
a
-
zA
-
Z0
-
9
]
=
)
|
(
\n\s
*
\{
)
|
(
\(
\s
)
|
(
\s
\)
)
|
(
\s
,
)
|
(
\n\s
*
\{
)
|
(
\t
)
|
(
\)\{
)
|
(
.
{81,}
)
|
(
[
a
-
zA
-
Z0
-
9
]
[
&|
\+\-\*\/
%
]
+
[
a
-
zA
-
Z0
-
9
]
)
|
(
class
[
a
-
z
]
)
|
(
class
.
*
_
)
|
(
;
)
|
(
==
[
a
-
zA
-
Z0
-
9
]
)
|
(
[
a
-
zA
-
Z0
-
9
]
.
=
[
a
-
zA
-
Z0
-
9
]
)
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 years ago
2016-05-06 20:33