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
ok
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Roman numbers
ECMAScript (JavaScript)
This regex matches roman numbers from 1 (I) to 3999 (MMMCMXCIX)
Submitted by
Nicolò Ribaudo
-
9 years ago
1
Angler Exploit Kit
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Date Validation
ECMAScript (JavaScript)
This pattern validates all the possible dates for all months in YYYY-MM-DD format. Due to limitations of regex it can not validate the dates of february for leap year. It will allow the date 29 for leap year too. Make sure to validate that yourself.
Submitted by
Ashutosh Agrawal
-
9 years ago
2
YouTube Iframe parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
BETWEEN clause
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
yowsup-cli message parsing
Python
This pattern parses the yowsup-cli message output to recover (otherwise lost) messages. Current yowsup version: v2.4
Submitted by
kerel
-
9 years ago
-2
Valid Email
ECMAScript (JavaScript)
Use this Regex for server-side validation also with some slight modifications like so for .NET -- @\w+([-+.']\w+)@\w+([-.]\w+)\.[a-zA-Z0-9]{2,6}(-.{2,6})*;
Submitted by
Fred Scales
-
9 years ago
1
Valid Email
ECMAScript (JavaScript)
This is the javascript equivalent that .NET uses in their server-side validators.
Submitted by
anonymous
-
9 years ago
2
Markup link
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Capture nested strings using recursion
PCRE (PHP <7.3)
Brackets, Parentheses, Braces, delimited
Submitted by
anonymous
-
9 years ago
1
check password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
visa cvv
PCRE (PHP <7.3)
4003447582444271
Submitted by
anonymous
-
9 years ago
0
shankar g mirpuri social security number
Python
no description available
Submitted by
anonymous
-
9 years ago
1
rr filter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
html img tag src
ECMAScript (JavaScript)
get src url from img tag in html
Submitted by
anonymous
-
9 years ago
1
simple labels
PCRE (PHP <7.3)
matches alphanumeric characters and apostrophes ex. Superman's Cape
Submitted by
anonymous
-
9 years ago
1
route53 export to bind format, moving TTL field
PCRE (PHP <7.3)
move TTL field from route53 zone export from right to left to "IN A/CNAME"
Submitted by
shawn.puschnig@medialets.com
-
9 years ago
1
Select all numbers greater than 36 (python)
Python
no description available
Submitted by
Mansoor
-
9 years ago
3
Select all number greater than 36
PCRE (PHP <7.3)
no description available
Submitted by
Mansoor
-
9 years ago
1
...
789
790
791
792
793
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(
.
+
?
(?=
administrator
)
)
.
*
(
(?<=
administrator
[
0
-
9
]
)
.
*
)
/
g
Open regex in editor
Description
Split a a path into to groups around a central directory
Submitted by
me
-
3 years ago