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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 8,260 community submitted regex patterns...
0
Namespace Declaration
ECMAScript (JavaScript)
like xxx="something" in
Submitted by
anonymous
-
5 years ago
0
2d to in 2 days
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Portugal / Portuguese License Plate (Matrícula - Placa)
ECMAScript (JavaScript)
Regex to recognize Vehicle License Plates in Portugal
Submitted by
anonymous
-
5 years ago
0
URL match with any protocol like http,ftp, etc..
Python
no description available
Submitted by
anonymous
-
5 years ago
0
sportsstreams
Python
no description available
Submitted by
anonymous
-
5 years ago
0
PSMA
Python
PSMA interview code challenge
Submitted by
anonymous
-
5 years ago
0
email address
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
jsgf grammar (namesapce)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
jsgf header (version, encoding, locale)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
Get string between quotes
ECMAScript (JavaScript)
Gets a string between double or single quotes
Submitted by
anonymous
-
5 years ago
0
Secure Phone Number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
sexxx & xxx
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Hylobatidae's clade
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Regex for apes
Python
no description available
Submitted by
anonymous
-
5 years ago
0
regex for the outgroup
Python
no description available
Submitted by
anonymous
-
5 years ago
0
outgroup-extracting last bootstrap vals.
Python
no description available
Submitted by
anonymous
-
5 years ago
0
outgroup-extracting last bootstrap vals.
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Address
Golang
for the demo 2019/09/27
Submitted by
anonymous
-
5 years ago
0
More complete UK address from psql
Golang
for demo 2019/09/30
Submitted by
anonymous
-
5 years ago
0
UK address extract the Postcode
Golang
for demo 2019/09/30
Submitted by
anonymous
-
5 years ago
1
...
224
225
226
227
228
...
413
Validate Phone number
0
Regular Expression
PCRE2 (PHP >=7.3)
%
^
(?:
(?:
\(
?
(?:
00
|
\+
)
(
[
1
-
4
]
\d\d
|
[
1
-
9
]
\d
?
)
\)
?
)?
[
\-\.\
\\\/
]
?
)?
(
(?:
\(
?
\d
{1,}
\)
?
[
\-\.\
\\\/
]
?
){0,}
)
(?:
[
\-\.\
\\\/
]
?
(?:
#
|
ext
\.
?
|
extension
|
x
)
[
\-\.\
\\\/
]
?
(
\d
+
)
)?
$
%
i
Open regex in editor
Description
to validate phone number
Submitted by
anonymous
-
a year ago