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...
1
Matches Content-Type field of HTTP response
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
try1
ECMAScript (JavaScript)
try1
Submitted by
anonymous
-
9 years ago
1
Anagram match of "poultryoutwitsants"
PCRE (PHP <7.3)
this is an anagram matcher to run upon words
Submitted by
sp90
-
9 years ago
1
get class
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
aaaaaaaaaaa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
gfghfgdf
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Get a xls file from URL
PCRE (PHP <7.3)
no description available
Submitted by
Huan
-
9 years ago
2
inline img
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Unicode username
ECMAScript (JavaScript)
Unicode user name check with som allowed non-alhanum characters
Submitted by
Martin Bucko
-
9 years ago
1
Find your Db from a sql query
PCRE (PHP <7.3)
A regex to find the db wich you're quering against to.
Submitted by
kkrico
-
9 years ago
1
viduregex
PCRE (PHP <7.3)
cac vi du ve bat cac chuoi o regex
Submitted by
thieutham
-
9 years ago
1
viduregex
PCRE (PHP <7.3)
cac vi du ve bat cac chuoi o regex
Submitted by
thieutham
-
9 years ago
0
Numbers - decimal, scientific etc
PCRE (PHP <7.3)
Matches numbers in most forms - normal, decimal, exponential, comma separted
Submitted by
Shashwat Black
-
9 years ago
3
Invalid Unicode characters in XML
PCRE (PHP <7.3)
This pattern matches all the Unicode characters that are not allowed in an XML document. It's based on the Wikipedia article "Valid characters in XML".
Submitted by
Aaron Wells
-
9 years ago
1
email
PCRE (PHP <7.3)
accept empty spaces at start and end
Submitted by
Emanuel Lima (jose.emanuel.lima@gmail.com)
-
9 years ago
0
Validate Social Security Number
Python
Validate that the social security number follows all of the guidelines of the Social Security Administration, and excludes all voided numbers.
Submitted by
Jacob O'Dea
-
9 years ago
2
remove n lines after matching pattern
PCRE (PHP <7.3)
stackoverflow question
Submitted by
irom77
-
9 years ago
3
currency
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
US Zip Code Validation
ECMAScript (JavaScript)
5 digits and no 0 5/4 times
Submitted by
Ashish
-
9 years ago
1
Date-Validation with mm/dd/yyyy or mmddyyyy or mm-dd-yyyy or m/d/yyyy
ECMAScript (JavaScript)
Date Validation with leap year handling, & it takes care of date validation in the format like :mm/dd/yyyy or mmddyyyy or mm-dd-yyyy or m/d/yyyy or m-d-yyyy. 12/01/1986 02/29/2016 02/29/2015 13/31/1986...
Submitted by
Ashish
-
9 years ago
1
...
817
818
819
820
821
...
902
Community Library Entry
-2
Regular Expression
Python
r"
^
(
[
0
-
9
]
{4}
(
(
0
[
1
-
9
]
)
|
(
1
[
0
-
2
]
)
)
(
(
0
[
1
-
9
]
)
|
(
[
1
-
2
]
[
0
-
9
]
)
|
(
3
[
0
-
1
]
)
)
(
(
(
[
0
-
1
]
[
0
-
9
]
)
|
(
2
[
0
-
3
]
)
)
[
0
-
5
]
[
0
-
9
]
[
0
-
5
]
[
0
-
9
]
(
\.
[
0
-
9
]
{3}
((
\[
[
\+\-
]
?
(
0
[
0
-
9
]
|
1
[
0
-
4
]
)
(
:
(
00
|
30
|
45
))?
\]
)?)?
)?
)?
)
$
"
Open regex in editor
Description
no description available
Submitted by
Oleg Sakharov karpuscul@gmail.com
-
9 years ago