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...
2
log4j log parsing
PCRE (PHP <7.3)
This pulls out all the fields in a log4j field. Suitable for use in a Logstash Grok pattern or similar
Submitted by
Robin Kearney
-
10 years ago
2
full asshole
ECMAScript (JavaScript)
no description available
Submitted by
alex
-
10 years ago
1
between quotes
PCRE (PHP <7.3)
Grabbing data beteween quotes.
Submitted by
anonymous
-
10 years ago
1
URL-safe, human-safe friendly IDs
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
Find URLs in markdown where the lines have been wrapped
Python
no description available
Submitted by
anonymous
-
10 years ago
0
seasons
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
nginx rewrite
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
1
Extracting Numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
sushiroles
PCRE (PHP <7.3)
some sushi role
Submitted by
anonymous
-
10 years ago
1
Test prioritized match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Searching for bracketed fields and optional parameters
ECMAScript (JavaScript)
This is a quick test of how to add optional identifiers to a fieldname search in REDCap
Submitted by
Andy Martin
-
10 years ago
-3
mama
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
Honza BÅ™eÄka
-
10 years ago
1
Recursive Search
PCRE (PHP <7.3)
Proof of concept to omit restriction with '' http://stackoverflow.com/questions/15584634/about-php-regexp-for-recursive-pattern?answertab=oldest#tab-top http://stackoverflow.com/questions/25408579/regex-to-match-blocks-inside-blocks
Submitted by
themroc
-
10 years ago
1
Recursive search
PCRE (PHP <7.3)
Proof of concept to omit restriction with '' http://stackoverflow.com/questions/15584634/about-php-regexp-for-recursive-pattern?answertab=oldest#tab-top http://stackoverflow.com/questions/25408579/regex-to-match-blocks-inside-blocks
Submitted by
themroc
-
10 years ago
1
Recursive search
PCRE (PHP <7.3)
Proof of concept to omit restriction with '' http://stackoverflow.com/questions/15584634/about-php-regexp-for-recursive-pattern?answertab=oldest#tab-top http://stackoverflow.com/questions/25408579/regex-to-match-blocks-inside-blocks
Submitted by
themroc
-
10 years ago
2
Match number in html
ECMAScript (JavaScript)
Prevent matching in markup attributes
Submitted by
Mathieu Civel
-
10 years ago
2
SFTP or FTP url
PCRE (PHP <7.3)
Parse an SFTP or FTP url and brak it into named capture groups.
Submitted by
Cullen Johnson
-
10 years ago
1
...
881
882
883
884
885
...
902
Community Library Entry
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
-
11 years ago