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 4,880 community submitted regex patterns...
0
Regex for Nigerian Phone Number
PCRE2 (PHP >=7.3)
As more and more nigerians get new phone numbers daily, the main telcom companies in Nigerian increase the varieties of numbers to accomodate this greater demand. This regex is needed to accomodate the new varieties of accessible numbers
Submitted by
anonymous
-
2 years ago
1
Regex de validação de número celular e fixo | PHP (PCRE2)
PCRE2 (PHP >=7.3)
Regex validação número celular e fixo Somente números nacionais Com ou sem DDI 55 (com ou sem + e/ou 00) DDD obrigatório (com ou sem parênteses) Com ou sem Dígito 9...
Submitted by
Danillo Dantas
-
2 years ago
1
Add commas between numbers
PCRE2 (PHP >=7.3)
This regex separates numbers with commas taking 0 into account.
Submitted by
anonymous
-
2 years ago
0
Regex PH landline
PCRE2 (PHP >=7.3)
Regex PH landline (sample)
Submitted by
anonymous
-
2 years ago
0
MATCH NO HREF DE HTML
PCRE2 (PHP >=7.3)
Match em href do html
Submitted by
anonymous
-
2 years ago
-1
Bluerose order-code
PCRE2 (PHP >=7.3)
order-code 20220623-19563352 20220623-18261367 20220606-15484894 20220606-15484 20220606...
Submitted by
anonymous
-
2 years ago
0
Checker for specific key
PCRE2 (PHP >=7.3)
Checker for specific key
Submitted by
anonymous
-
2 years ago
0
Title RegEx
PCRE2 (PHP >=7.3)
Checks named titles like Mr., Mrs, Ms. prefixed to names
Submitted by
anonymous
-
2 years ago
0
Between brackets
PCRE2 (PHP >=7.3)
Get all values between brackets
Submitted by
aldo-f
-
2 years ago
0
MSE Qualifier Regex
PCRE2 (PHP >=7.3)
Regular Expression for getting a Qualifier as defined by MapleMBSE
Submitted by
anonymous
-
2 years ago
0
MB - XE Currency connector
PCRE2 (PHP >=7.3)
Martin Bencher - XE Currency connector
Submitted by
Ghita
-
2 years ago
0
beginning of new file / very start of the first line
PCRE2 (PHP >=7.3)
beginning of new file / very start of the first line
Submitted by
rasreeee
-
2 years ago
0
deetct href and src in html files for vs code
PCRE2 (PHP >=7.3)
deetct href= and src= in html files for vs code
Submitted by
anonymous
-
2 years ago
0
HGVS Frameshift protein
PCRE2 (PHP >=7.3)
Protein frameshift hgvs
Submitted by
anonymous
-
2 years ago
0
Find OTP
PCRE2 (PHP >=7.3)
Covers most of the cases of getting otp from email or mobile number
Submitted by
anonymous
-
2 years ago
0
HGVS RNA deletion
PCRE2 (PHP >=7.3)
This regex will match RNS deletion following hgvs nomenclature
Submitted by
anonymous
-
2 years ago
0
HGVS coding RNA substitution
PCRE2 (PHP >=7.3)
This Regex will match simple RNA substitution following HGVS nomenclature
Submitted by
anonymous
-
2 years ago
0
XAML invert Grid.Column and Grid.Row to Grid.Row and Grid.Column
.NET 7.0 (C#)
Inverts the 2 attributes
Submitted by
anonymous
-
2 years ago
0
匹配带有后缀的数字
PCRE2 (PHP >=7.3)
0.12GB 0.12 224KB 224 1.14 1.14 23 23
Submitted by
anonymous
-
2 years ago
0
Author names
Python
Matches author names
Submitted by
anonymous
-
2 years ago
1
...
89
90
91
92
93
...
244
Community Library Entry
0
Regular Expression
Python
r"
^\s
*
(?:
\+
?
(
\d
{1,3}
)
\s
*
)?
(
\s
?
\(
?
\d
{2}
\)
\s
?
)?
(
\s
?
[
-.
(
]
*
(
\d
{3}
)
[
-.
)
]
*
)?
(
(
\d
{3,4}
)
[
-.
]
*
(
\d
{2,5}
)
(?:
[
-.x
]
*
(
\d
+
)
)?
)
\s
*
$
"
gm
Open regex in editor
Description
REGEX to test various phone numbers
Submitted by
Drew Recker
-
2 years ago