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...
-2
Regular expression for both IPv6 and IPv4 URL
PCRE (PHP <7.3)
no description available
Submitted by
Henry Li
-
11 years ago
-2
IP 3 words and a number
PCRE (PHP <7.3)
Matches an Ip and any 3 words and a number after separated by any number of spacing characters.
Submitted by
Attalward
-
11 years ago
-2
Unicode email sanitising
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
-2
Date YYYYMMDD
PCRE (PHP <7.3)
Date in format YYYYMMDD Year between [1900-2099] No leap year check but month 02 is limited to 29 days.
Submitted by
Ahmed Z
-
10 years ago
-2
Remove /* comments */ from CSS
PCRE (PHP <7.3)
no description available
Submitted by
JerseyMilker
-
10 years ago
-2
Version in Cordova config.xml
PCRE (PHP <7.3)
no description available
Submitted by
procek
-
10 years ago
-2
RegEx within tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
example
Python
match
Submitted by
anonymous
-
10 years ago
-2
Maintain portion in the middle
PCRE (PHP <7.3)
no description available
Submitted by
HMK
-
10 years ago
-2
Simplify HTML
PCRE (PHP <7.3)
no description available
Submitted by
LA
-
10 years ago
-2
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
eee
Python
no description available
Submitted by
anonymous
-
10 years ago
-2
get all href=()
PCRE (PHP <7.3)
no description available
Submitted by
artyom lisovskij
-
10 years ago
-2
e164_basic
PCRE (PHP <7.3)
e164_basic
Submitted by
anonymous
-
10 years ago
-2
IsEmailValid()
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
I need some one to generate an regexp please
ECMAScript (JavaScript)
I need regular expression for the string WC_AUTHENTICATION_1343459084. Here WC_AUTHENTICATION_ remains fixed and the number keeps changing. I have written the below logic. var re = new RegExp('[; ]'+"WC_PERSISTENT"+'[0-9]'); Please help
Submitted by
Sanuvimal.Mohan@target.com
-
10 years ago
-2
,,,
PCRE (PHP <7.3)
,,,
Submitted by
,,,
-
10 years ago
-2
Deleting everything except words starting with “#â€
PCRE (PHP <7.3)
no description available
Submitted by
A. K. Asik
-
10 years ago
-2
A few Australian address parser
PCRE (PHP <7.3)
A few Australian address parser
Submitted by
Dennis Deljouei
-
10 years ago
-2
foo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
...
368
369
370
371
372
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
[
\w
\-
\d
).
]
+
\s
/
gm
Open regex in editor
Description
Submitted by
anonymous
-
4 years ago