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,040 community submitted regex patterns...
0
Password Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Name w/ unicode
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Get all ampersands, but omits the ampersands that are part of any HTML entities.
PCRE (PHP <7.3)
Get all ampersands, but omits the ampersands that are part of any HTML entities.
Submitted by
anonymous
-
5 years ago
0
Full ISO 8601 Duration without lookaround
PCRE (PHP <7.3)
Without lookaround, this regular expression also accepts P and PT as valid duration strings. If your library supports lookaround, I recommend that you use Full ISO 8601 Duration with lookaround (also in the library) instead, which will also reject P and PT.
Submitted by
anonymous
-
5 years ago
0
Full ISO 8601 Duration with lookaround
PCRE (PHP <7.3)
With lookaround, this regular expression will reject P and PT as invalid duration strings. If your library does not support lookaround, I recommend that you use Full ISO 8601 Duration without lookaround (also in the library) instead, with the caveat that you will need to verify the string is not P o...
Submitted by
anonymous
-
5 years ago
0
Email Regex
PCRE (PHP <7.3)
https://emailregex.com/
Submitted by
anonymous
-
5 years ago
0
tach va group nhom
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Insert CDATA on SVG text fields
ECMAScript (JavaScript)
For each that it founds, it inserts a <![CDATA[ ... ]]>
Submitted by
anonymous
-
5 years ago
0
Telephone number : strict international section, flexible local section for wider international and allows spaces for visual formatting
ECMAScript (JavaScript)
Telephone number strict international section :- starting with '+' or '00' flexible local section for wider international and allows spaces for visual formatting Close enough for many requirements. Tweak to match your country/circumstances better. ...
Submitted by
PS
-
5 years ago
0
Paris
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Brazil Phone Validator
PCRE (PHP <7.3)
(\([0-9]{2}\)\s?[0-9]{4,5}-?[0-9]{3,4})|([0-9]{10,11})|([0-9]{2}\s?[0-9]{8,9})
Submitted by
anonymous
-
5 years ago
0
Prüfung Telefon
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Winamax Tournament History
Python
no description available
Submitted by
anonymous
-
5 years ago
0
Bash command help flags extract
ECMAScript (JavaScript)
Extracts the flag option information from a bash 'COMMAND --help'.
Submitted by
anonymous
-
5 years ago
0
B&C integer plus eighths
ECMAScript (JavaScript)
This regular expression will match the following: 0 1-39 Integers Mixed numbers of the form x y/8 or x-y/8 where x is an integer between 1 & 9 and y is an integer between 0 & 7 xx y/8 or xx-y/8 where xx is an integer between 1 & 39 and y is an integer between 0 & 7...
Submitted by
anonymous
-
5 years ago
0
匹配不包含x且必须包含y
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
从计算表达式中分别提取含x和y的部分
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
number price without comma (usd, krw)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Return non matching part of string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
panbaidu
Python
no description available
Submitted by
anonymous
-
5 years ago
1
...
289
290
291
292
293
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
\(
[
0
-
9
]
{2}
\)
\s
?
[
0
-
9
]
{4,5}
-
?
[
0
-
9
]
{3,4}
)
|
(
[
0
-
9
]
{10,11}
)
|
(
[
0
-
9
]
{2}
\s
?
[
0
-
9
]
{8,9}
)
/
gm
Open regex in editor
Description
(([0-9]{2})\s?[0-9]{4,5}-?[0-9]{3,4})|([0-9]{10,11})|([0-9]{2}\s?[0-9]{8,9})
Submitted by
anonymous
-
5 years ago