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 15,500 community submitted regex patterns...
4
Mask credit card
PCRE (PHP <7.3)
no description available
Submitted by
Albert Paris
-
8 years ago
2
UK phone number
PCRE (PHP <7.3)
UK phone number
Submitted by
Andrea SonnY
-
8 years ago
9
Fiddler raw body to PHP array
PCRE (PHP <7.3)
no description available
Submitted by
garsax
-
8 years ago
7
Max - URL Extract
PCRE (PHP <7.3)
no description available
Submitted by
Ayush
-
8 years ago
4
Strip out domain extensions except for Microsoft .net technologies.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
4
YouTube Grabber Cleanup
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
4
Match Brackets and anything inside
ECMAScript (JavaScript)
no description available
Submitted by
andreayang
-
11 years ago
3
mm/dd/yyyy Date
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
10 years ago
1
phone test
PCRE (PHP <7.3)
no description available
Submitted by
cool guy
-
10 years ago
2
42 post regex
PCRE (PHP <7.3)
Hosts regex for 42 school (france)
Submitted by
Kerosene2000
-
10 years ago
0
Match all html tags
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
3
everything that doesn't match .gitignore at the end
PCRE (PHP <7.3)
must match: selection/nl/example.xml selection/example.xml selection/blabla.txt selection/es/ ...
Submitted by
anonymous
-
10 years ago
7
[A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-][-\w]*
PCRE (PHP <7.3)
A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-*
Submitted by
[A-Za-z\x{0600}-\x{06FF}\x{1000}-\x{1021}_-][-\w]*
-
10 years ago
7
TimezoneOffset
ECMAScript (JavaScript)
used to parse timezone in the format -08:00 or +05:30
Submitted by
Neha
-
10 years ago
2
price float pattern
ECMAScript (JavaScript)
Checks that value is float format and has two digits at max
Submitted by
@jprajani
-
10 years ago
6
Extract style
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
7
validate US (5 & 9 digit) ZipCodes and CA PostalCodes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
7
simple email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
Italian VAT (IVA)
ECMAScript (JavaScript)
Italian VAT
Submitted by
Italo
-
9 years ago
3
Social Security Number (SSN)
ECMAScript (JavaScript)
tests for valid social security numbers according to the social security administration. more specifically: -disallows a group to have all 0s -disallows first group to have all 6s -disallows a ssn to begin with 9 note that this does not test for issued ssn's. that would be impossible to implement h...
Submitted by
noxToken
-
9 years ago
1
...
6
7
8
9
10
...
775
YouTube Grabber Cleanup
4
Regular Expression
PCRE (PHP <7.3)
/
^
(
.
*
)
(
[
\w
_-
]
{11}
)
\.
(
mp4
|
mkv
|
flv
)
$
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
11 years ago