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 14,100 community submitted regex patterns...
0
rwe
PCRE (PHP <7.3)
rwerw
Submitted by
rwerw
-
10 years ago
0
None
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Regex Pattern for Mexico Phone Number using Groups
PCRE (PHP <7.3)
Can anyone help me format the following regex for Mexico Phone Numbers. I have two issues, the Regular Expression builder is telling me my Grouping is invalid and also I am having trouble with the 52 pattern. I want it to allow any two digits such as [0-9]{2} example: 52-555-786-2300 (\\+?1[\\s\...
Submitted by
kingpoop
-
10 years ago
0
SickRage
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
test123
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
soap envelope regexp
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
wildcard url match with url
PCRE (PHP <7.3)
no description available
Submitted by
Ahosan Karim Asik
-
10 years ago
0
replace all script sources
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
10 years ago
0
xml encoding detection
PCRE (PHP <7.3)
xml encoding detection encoding=(\"\S+")
Submitted by
anonymous
-
10 years ago
0
IPv4 private network address
PCRE (PHP <7.3)
Check if the given string is a private address
Submitted by
Loïc Rameau
-
10 years ago
0
http
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Select id's in a HTML
PCRE (PHP <7.3)
This regexp was created to search all the id's in a HTML with the objective to clean the code and delete them.
Submitted by
Israel Sotomayor
-
10 years ago
0
Scrape SRC
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
congratulation
PCRE (PHP <7.3)
very nice helper
Submitted by
fred
-
9 years ago
0
Stackoverflow
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
1
Python
no description available
Submitted by
anonymous
-
9 years ago
0
Find color
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
URLs
PCRE (PHP <7.3)
split URL in 2 parts
Submitted by
A.L
-
9 years ago
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
9 years ago
(Last modified 10 months ago)
0
BB quote extractor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
241
242
243
244
245
...
705
中国车牌
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