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,000 community submitted regex patterns...
0
Catastrophic backtracking example
PCRE (PHP <7.3)
Catastrophic backtracking example; with extra info links. Based on example from: https://www.regular-expressions.info/catastrophic.html
Submitted by
ELM
-
6 years ago
0
Extracting a price from a string
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
At least one character and one digit, ignoring the order in which they appear.
PCRE (PHP <7.3)
At least one character and one digit, ignoring the order in which they appear.
Submitted by
Loïc [TwystO] Liné
-
6 years ago
0
Validate UrlParams
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
step 1 test
PCRE (PHP <7.3)
unit tests
Submitted by
anonymous
-
6 years ago
0
Detection of parties
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
中国车牌
Python
no description available
Submitted by
anonymous
-
6 years ago
0
Phone numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
MYSQL params
PCRE (PHP <7.3)
Obtains the SQL params
Submitted by
anonymous
-
6 years ago
0
Mixplorer Bookmarks
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
BSOD
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
wtf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
davekeane select certain and ignore certain characters or words
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Selectie text intre stringuri
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Seg #
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Extract time from seg filename
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Selectie text intre stringuri
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
files containing [rgo1] ending [.html]
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
DDMMMYYYY w/Leap Year Check
PCRE (PHP <7.3)
Format of 29Feb2020 or 29FEB2020 with leap year check
Submitted by
anonymous
-
6 years ago
0
YYYYMMDD w/Leap Year Check
PCRE (PHP <7.3)
Validate dates in the format of 20201231 with leap year check on the 29th of February
Submitted by
anonymous
-
6 years ago
1
...
523
524
525
526
527
...
900
Community Library Entry
0
Regular Expression
Python
r"
(
[
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领WVZHKE
]
{1}
[
A
-
Z
]
{1}
(
(
[
0
-
9
]
{5}
[
DF
]
)
|
(
[
DF
]
(
[
A
-
HJ
-
NP
-
Z0
-
9
]
)
[
0
-
9
]
{4}
)
)
)
|
(
[
京津沪渝冀豫云辽黑湘皖鲁新苏浙赣鄂桂甘晋蒙陕吉闽贵粤青藏川宁琼使领WVZHKE
]
{1}
[
A
-
Z
]
{1}
[
A
-
HJ
-
NP
-
Z0
-
9
]
{4}
[
A
-
HJ
-
NP
-
Z0
-
9挂学警港澳
]
{1}
)
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago