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...
0
https://regex101.com/r/edPG4P/1
Python
needs to be modified for use in python by this code example note use of {3 } and additional parenthesis around the import re nigeRegex = re.compile(r'((\d{3}-)?\d{3}-\d{4}(,)?){3}') nigeRegex.search('My numbers are 415-555-1234,555-4242,212-555-0000')
Submitted by
anonymous
-
5 years ago
0
tag urls
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Email if then else
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
RFC 3986 Valid URL
PCRE (PHP <7.3)
Taken from Regex DB
Submitted by
anonymous
-
5 years ago
0
SS# Regex v2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
UEN regex
PCRE (PHP <7.3)
Determines if a company's Unique Entity Number is local (Singapore) for ESG FN
Submitted by
anonymous
-
5 years ago
0
js autocomplete
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Czech ZIP (PSČ)
PCRE (PHP <7.3)
Czech PSČ regexp
Submitted by
anonymous
-
5 years ago
0
Dates
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Списки
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Домены
Python
no description available
Submitted by
anonymous
-
5 years ago
0
multiple conditions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
multiple conditions
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Time Sync Regex
Python
Returns the value of an epoch time sync with a time reference
Submitted by
anonymous
-
5 years ago
0
TRANSPORT
Python
no description available
Submitted by
anonymous
-
5 years ago
0
RESERVED
Python
no description available
Submitted by
anonymous
-
5 years ago
0
BORDER
Python
no description available
Submitted by
anonymous
-
5 years ago
0
ACCESS
Python
no description available
Submitted by
anonymous
-
5 years ago
0
ENNI
Python
no description available
Submitted by
anonymous
-
5 years ago
0
VIDEO
Python
no description available
Submitted by
anonymous
-
5 years ago
1
...
201
202
203
204
205
...
901
Community Library Entry
0
Regular Expression
Python
r"
(
52
.\d
{3}
(
-
\d
*
)?
)
(
\s
?
)
(
(
\[
Reserved
\]
)
|
(
(
[
a
-
zA
-
Z
]
[
\w\W
]
*
?
)
\.
\s
*
?
\n
(
\s
*
?
)
(
(
[
a
-
zA
-
Z
]
[
\s\S
]
*
?
)
\s
*
(
[
A
-
Z
\s
]
*
\s
\(
(
[
A
-
Z
]
{3,4}
)
(
\d
{4}
)
\)
)
\s
*
(
[
\w\W
]
*
?
)
)
\s
*
(
\(
\s
*
?
End
\s
*
?
of
\s
*
?
(
clause
|
provision
)
\s
*
?
\)
)
)
)
"
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago