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
Community Patterns
Search among 13,860 community submitted regex patterns...
0
Valid UK postcode check
Python
Rather long, but pretty accurate, matches on BS7666 alpha num pattern. https://en.wikipedia.org/wiki/Postal_code#UK
Submitted by
anonymous
-
8 years ago
1
Strip Dashes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
fraction
Python
mixed or simple fraction with whitespace, optional dash as separator
Submitted by
anonymous
-
8 years ago
1
Date validation in dd MMM yyyy format
PCRE (PHP <7.3)
Date validation in dd MMM yyyy format Ex:14 Jan 2014
Submitted by
neel
-
8 years ago
1
Disassembly Line Bytes
PCRE (PHP <7.3)
no description available
Submitted by
zhaDe
-
8 years ago
1
Address
Python
Regex for extracting address with pincode.
Submitted by
Irfan Patel
-
8 years ago
1
Singapore and Malaysia Mobile numbers
PCRE (PHP <7.3)
Singapore and Malaysia Mobile numbers
Submitted by
Harsh Gupta
-
8 years ago
1
The correct order of the brackets 2
PCRE (PHP <7.3)
Check the correct order of the brackets (),,{},[] fix slashes
Submitted by
Korniychuk Anton<ancor.dev@gmail.com>
-
8 years ago
0
the correct order of the brackets
PCRE (PHP <7.3)
Check the correct order of the brackets (),,{},[]
Submitted by
Korniychuk Anton<ancor.dev@gmail.com>
-
8 years ago
1
Email
PCRE (PHP <7.3)
Teste la validité d'une adresse email
Submitted by
Alain Souchet
-
8 years ago
1
Chaîne non vide
PCRE (PHP <7.3)
Vérifie si la chaîne fournie est vide (c'est à dire composé uniquement d'espaces) ou non
Submitted by
Alain Souchet
-
8 years ago
1
URL pattern
PCRE (PHP <7.3)
URL pattern. include cyrillic characters
Submitted by
Bobsans
-
8 years ago
0
Equidé
PCRE (PHP <7.3)
no description available
Submitted by
Carl
-
8 years ago
1
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Find Whole CaMeL Words
PCRE (PHP <7.3)
The PCRE (or any regex flavor supporting word boundaries, Unicode properties and lookaheads) \b(?!\p{Lu}+\b)(?=\p{L}\p{Ll})(?=\p{L}\p{Lu})(?!\p{Lu}\p{Ll}*\b)\p{L}+\b regex finds CaMeL words that: Have at least 1 lowercase letter Have at least 1 uppercase letter Do not follow the X, XXX or Xxxx p...
Submitted by
Wiktor Stribiżew
-
8 years ago
1
Match everything after last slash
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
-1
phone number to match all cases of phone number all over the world
PCRE (PHP <7.3)
i.e: (555)555-5555 (OK) 5555555555 (ok) 555.555.5555 (ok) 55555555556 (ok) +184 (555)555-5555 (ok)...
Submitted by
Quoc Kenny Nguyen
-
8 years ago
1
freeproxylists.net
PCRE (PHP <7.3)
regex for freeproxylists.net
Submitted by
anonymous
-
8 years ago
1
Strip unicode u
Python
no description available
Submitted by
anonymous
-
8 years ago
0
[ ] delimiter matching
PCRE (PHP <7.3)
af
Submitted by
me
-
8 years ago
1
...
520
521
522
523
524
...
693
phone number
1
Regular Expression
PCRE (PHP <7.3)
/
(
\d
{1,4}
?
[
-.
\s
]
?
)*
/
Open regex in editor
Description
accept number , space, . and -
Submitted by
sylvain
-
9 years ago