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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,100 community submitted regex patterns...
0
Match Street Number
Python
Matches street number in it's 2nd group
Submitted by
anonymous
-
2 years ago
0
AA find Excel command in script
Python
find Excel command in script based on json
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Canvas user quiz url to API url
Python
Turns a URL provided by the user (copied from the address bar) into a url to access the same quiz with the Canvas LMS REST API.
Submitted by
anonymous
-
2 years ago
0
starts with number and ends with string or number
Python
starts with number and ends with string or number starts with +ve, -ve or decimal number
Submitted by
suraj
-
2 years ago
0
conditional lookahead (IF (pat1) or (pat2) THEN match (pat1) and/or (pat2) box
Python
Python does not support conditionals using lookaround, even though Python does support lookaround outside conditionals. (?(?=regex) then|else) is illegal in python (?=regex)then|(?!regex)else - this works. madness details in the test strings
Submitted by
PeteC
-
2 years ago
0
Email Validation
Python
It won't recognize if the local-part is just one character like t@somedomain.com
Submitted by
anonymous
-
2 years ago
0
single character v2?
Python
find any standalone, non-white space character
Submitted by
anonymous
-
2 years ago
0
Airtel Unlimited Plan
Python
Airtel Unlimited Plan
Submitted by
starkm42
-
2 years ago
0
Remove Trailing Number
Python
Regex for the gvsbuild tool to remove a trailing number from a project name.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
pens
Python
testing
Submitted by
anonymous
-
2 years ago
0
71871164
Python
Stack overflow example
Submitted by
anonymous
-
2 years ago
0
原神圣遗物OCR副属性(中文简体)
Python
用于游戏“原神”的圣遗物OCR结果中的副属性识别
Submitted by
Wansn
-
2 years ago
0
Phone number regex
Python
REGEX to test various phone numbers
Submitted by
Drew Recker
-
2 years ago
0
#value # value
Python
account for comments
Submitted by
anonymous
-
2 years ago
0
CVE-2021-31805 (s2-062)
Python
\%[\s|\\r|\\n]\{[\s|\\r|\\n](?:[\s|\\r|\\n]*\(\#+\=+\)\.)
Submitted by
anonymous
-
2 years ago
0
LinkTree
Python
just to find linktree links in poirot
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
matlab代码
Python
matlab代码
Submitted by
java
-
2 years ago
0
MyRegex
Python
"(\d+年\d+月\d+日).新增本土.确诊病例(\d+)例.无症状感染者(\d+)例.其中(\d+)例确诊病例为此前无症状.,(\d+)例确诊病例和(\d+)例无症状感染者.相关风险人群排查中发现"
Submitted by
Mark
-
2 years ago
0
find const string in code for xml/java
Python
.
Submitted by
anonymous
-
2 years ago
0
The list of Android permissions with their severity
Python
Find all Android permissions with their severity in HTML source code of google documentation.
Submitted by
Alticore (Antoine ADAM: https://github.com/Antoine-ADAM)
-
2 years ago
1
...
90
91
92
93
94
...
105
CPF|CNPJ
0
Regular Expression
Python
r"
(
[
0
-
9
]
{2}
[
\.
]
?
[
0
-
9
]
{3}
[
\.
]
?
[
0
-
9
]
{3}
[
\/
]
?
[
0
-
9
]
{4}
[
-
]
?
[
0
-
9
]
{2}
)
|
(
[
0
-
9
]
{3}
[
\.
]
?
[
0
-
9
]
{3}
[
\.
]
?
[
0
-
9
]
{3}
[
-
]
?
[
0
-
9
]
{2}
)
"
gm
Open regex in editor
Description
Match Brazilian documents
Submitted by
Bacco
-
2 years ago