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 12,000 community submitted regex patterns...
1
Match for RAM, Storage
PCRE (PHP <7.3)
Match for ram size and storage size
Submitted by
anonymous
-
8 years ago
1
Water
PCRE (PHP <7.3)
Submitted by
anonymous
-
8 years ago
1
MQS
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Telefoonnummer
PCRE (PHP <7.3)
no description available
Submitted by
manoe
-
8 years ago
1
Folkeskoleklasse
PCRE (PHP <7.3)
Regex til at matche folkeskoleklasse input. Matcher et tal fra 1 - 10, derefter et eller flere mellemrum evt. efterfulgt af et punktum eller et punktum derefter efterfulgt af et eller flere mellemrum og til sidst et enkelt bogstav (stort eller lille).
Submitted by
Emil Kjær Eriksen
-
8 years ago
1
teste
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
4
html tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
/^([a-zA-Z0-9])+([a-zA-Z0-9\._-])*@([a-zA-Z0-9_-])+([a-zA-Z0-9\._-]+)+
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
asas
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
(aller) + -z
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
2
fiddler raw to php array
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Marrocco Phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
DustySky URI
PCRE (PHP <7.3)
This PCRE matches DustySky URI structure.
Submitted by
Damian Torres
-
8 years ago
1
US and Mexico Phone Numbers with Extensions
PCRE (PHP <7.3)
no description available
Submitted by
Katrina
-
8 years ago
2
Steam ID Regex
PCRE (PHP <7.3)
Will match and assign to named groups any form of identification for a steam user. Note that profile links and steamid64s are exclusive, preferring the more specific definition to the other, as well as is the case with customurls and full custom profile links.
Submitted by
jokleinn
-
8 years ago
1
Top Level Domain (TLD)
PCRE (PHP <7.3)
Select TLD (.com, .fr ...) from url or domain
Submitted by
Etienne
-
8 years ago
0
Google Analytics Campaign String
PCRE (PHP <7.3)
Match a Google Analytics Campaign query string
Submitted by
anonymous
-
8 years ago
2
Local url detection
PCRE (PHP <7.3)
Detect if an url is local (even if written in an absolute way)
Submitted by
Jean Fenouil
-
8 years ago
1
ISO 8601 date formats incl. validation
PCRE (PHP <7.3)
Test for all ISO 8601 date formats and only accept valid dates, e.g. 2016-02-29, but not 2016-02-30 or 2017-02-29.
Submitted by
Christoph Päper (Crissov)
-
8 years ago
1
project code for multiple codes
PCRE (PHP <7.3)
Ability to capture emails sent and received from Exchange (using Journaling that has been activated on specific users) that have one or more of the following Project Number prefixes: “15-“ “16-“ “17-”... “30-“ “GGO”...
Submitted by
anonymous
-
8 years ago
1
...
471
472
473
474
475
...
600
City and state validation
0
Regular Expression
PCRE (PHP <7.3)
/
^.
+
?
?
,
?
(
A
[
LKSZRAP
]
|
C
[
AOT
]
|
D
[
EC
]
|
F
[
LM
]
|
G
[
AU
]
|
HI
|
I
[
ADL
N
]
|
K
[
SY
]
|
LA
|
M
[
ADEHINOPST
]
|
N
[
CDEHJMVY
]
|
O
[
HKR
]
|
P
[
ARW
]
|
RI
|
S
[
CD
]
|
T
[
NX
]
|
UT
|
V
[
AIT
]
|
W
[
AIVY
]
)
$
/
i
Open regex in editor
Description
Validation when city and state are like in format
city, state
Submitted by
Adu
-
10 years ago