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 17,160 community submitted regex patterns...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
xref phone number
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-06-27 07:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Save
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-27 05:23
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
re
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-06-26 18:53
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
match directory paths with names
ECMAScript (JavaScript)
crazy rhumbl regex for build
Submitted by
luwenh
-
7 years ago
2016-06-24 22:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
HTML tag search
Python
finds the common html tags
Submitted by
Henri Mulder
-
7 years ago
2016-06-24 20:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ADCE - Validación
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-24 13:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ADCE Descomposición
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-24 13:24
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
smiley
PCRE (PHP <7.3)
no description available
Submitted by
FallenShard
-
7 years ago
2016-06-24 11:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
multiple upstream time
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-24 11:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Verify name with @{name}
ECMAScript (JavaScript)
Check whether string consists of @{name}. Work only for the beginning of the string.
Submitted by
bologer
-
7 years ago
2016-06-24 06:54
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
dash then anything
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-23 21:07
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
a
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-06-23 20:19
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
BigTimeRegex3
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-06-23 20:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
BigTimeRegex2
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-06-23 20:06
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
BigTimeRegex
PCRE (PHP <7.3)
Description
Submitted by
anonymous
-
7 years ago
2016-06-23 20:05
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Big Time Regex?
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
2016-06-23 20:04
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
t() argument extractor
PCRE (PHP <7.3)
Extracts the string passed to the Drupal t() function and keeps the string in the 3rd capture.
Submitted by
Travis Uribe
-
7 years ago
2016-06-23 18:18
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
pull version number
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-06-23 17:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
grab value from json
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-06-23 17:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Y or N
PCRE (PHP <7.3)
Single character Yes Or No Accepts Y|N|y|n
Submitted by
SoftwareSimian
-
7 years ago
2016-06-23 16:08
1
...
629
630
631
632
633
634
635
...
858
IP adress or masks
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
1
[
0
-
9
]
{2}
|
[
1
-
9
]
{1}
[
0
-
9
]
|
[
1
-
9
]
)
.
){1}
(
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
1
]
{1}
[
0
-
9
]
{2}
|
[
1
-
9
]
{1}
[
0
-
9
]
|
[
0
-
9
]
)
.
){2}
(
(
25
[
0
-
5
]
|
2
[
0
-
4
]
[
0
-
9
]
|
[
1
]
{1}
[
0
-
9
]
{2}
|
[
1
-
9
]
{1}
[
0
-
9
]
|
[
0
-
9
]
){1}
)
)
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
SkullPand4
-
7 years ago
2016-05-26 10:00