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,000 community submitted regex patterns...
1
Extract name and subdomain from a domain name
PCRE (PHP <7.3)
takes www.yourdomain.com and return and array of three parts www yourdomain.com yourdomain in javascript I use it like this:...
Submitted by
Quincy Acklen
-
8 years ago
0
Timestamp recognizer, extracts hours minutes seconds
Python
Recognizes time-of-day timestamps Time range is from 0:00:00 through 23:59:59 Seconds are optional Named match components for hours, minutes, seconds
Submitted by
Paul Reiber
-
8 years ago
1
Regex URLs
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Log
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Email address validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
Macro Opcional TPSQL
PCRE (PHP <7.3)
no description available
Submitted by
Theodozio
-
8 years ago
1
querystring
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
MM/DD/YYYY
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
url regex
PCRE (PHP <7.3)
url regex for http(s) and redirects
Submitted by
anonymous
-
8 years ago
1
prvs email thingy
PCRE (PHP <7.3)
email thingy
Submitted by
anonymous
-
8 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
subst space with underscore
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
1
port match
Python
no description available
Submitted by
anonymous
-
8 years ago
1
decoupe_gid
PCRE (PHP <7.3)
decoupe un gid
Submitted by
anonymous
-
8 years ago
1
Postcode
PCRE (PHP <7.3)
Postcode hoofdletter ongevoelig. Inclusief eventuele spatie.
Submitted by
Manoe Driessen
-
8 years ago
1
Phone number dutch
PCRE (PHP <7.3)
Mobile, home and international. Including the regional prefix numbers
Submitted by
Manoe Driessen
-
8 years ago
1
splay
Python
splay js_data
Submitted by
anonymous
-
8 years ago
0
WhatsApp Message Regex
ECMAScript (JavaScript)
A regex to parse WhatsApp conversation files
Submitted by
anonymous
-
8 years ago
1
Replace Spaces in href and src attributes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
decimal_to_frac
Python
Convert .5 in all its forms to 1/2
Submitted by
Brett Tofel
-
8 years ago
1
...
648
649
650
651
652
...
900
Community Library Entry
1
Regular Expression
PCRE (PHP <7.3)
/
^
(
(
http
[
s
]
?
)
:
\/
)?
\/
?
(
[^
:
\/
\s
]
+
)
(
(
amazonaws
)*
\/
)
(
[
\w
-
\.
]
+
[^
#?
\s
]
+
)
/
gmi
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago