Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,020 community submitted regex patterns...
-1
street address Checker and fetcher
PCRE (PHP <7.3)
Check provided street address is valid or not and also fetch it's all components.
Submitted by
Dilip Borad
-
10 years ago
1
Extract ids (values) with regex
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
10 years ago
3
javascript template replacement
ECMAScript (JavaScript)
no description available
Submitted by
akamaozu
-
10 years ago
0
Regex Mobile Number Validation Code
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
1
sad smiley
Python
looks for a sad smiley with a backslash
Submitted by
@barraponto
-
10 years ago
1
smiley
PCRE (PHP <7.3)
no description available
Submitted by
@barraponto
-
10 years ago
1
Dotted Quad
PCRE (PHP <7.3)
IP PCRE
Submitted by
Awkwardly Scripted
-
10 years ago
2
Finding a string along with a few other words
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
4
parsing a numeric strings with backslash using regexp
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
1
Phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
xml encoding detection
PCRE (PHP <7.3)
xml encoding detection encoding=(\"\S+")
Submitted by
anonymous
-
10 years ago
0
replace all script sources
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
10 years ago
0
wildcard url match with url
PCRE (PHP <7.3)
no description available
Submitted by
Ahosan Karim Asik
-
10 years ago
2
Email validation
ECMAScript (JavaScript)
Very crude, but effective email validation.
Submitted by
Ryan Oaks
-
10 years ago
1
Exploding regex
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Number betwen:1 1.5 2 2.5
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
match sequential characters
ECMAScript (JavaScript)
HI, I'm looking for RegX to match words with more than two sequential characters
Submitted by
JC
-
10 years ago
0
rr
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
MySql Definer
PCRE (PHP <7.3)
For find definer in mysql routines
Submitted by
Jorge Espinoza
-
10 years ago
1
Date validation
ECMAScript (JavaScript)
A regular expression to validate a Date in format DD/MM/YYYY
Submitted by
Felipe Montaña
-
10 years ago
1
...
871
872
873
874
875
...
901
Community Library Entry
2
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\+
?
(
\b
1
)?
[
\
.
\/
-
]
?
(
(?(2)
|
(
\b
)
)
|
(
\(
)
)
\d
{3}
(?
(?<=
\(
\d
{3}
)
\)
|)
[
\
.
\/
-
]
?
)?
(?(1)
|
\b
)
\d
{3}
[
\
.
\/
-
]
?
\d
{4}
[
\
]
?
(
[
xX
]
[
\
]
?
\d
{1,5}
)?
\b
/
gm
Open regex in editor
Description
US phone number, try to catch as many as possible
Submitted by
anonymous
-
3 years ago