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,020 community submitted regex patterns...
2
Parse keywords from search string
PCRE (PHP <7.3)
no description available
Submitted by
@bananascript
-
10 years ago
2
python regex
Python
no description available
Submitted by
anonymous
-
10 years ago
2
parse images
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Regex Capture String
PCRE (PHP <7.3)
Capture out Parts using regular expressions
Submitted by
Brandon
-
10 years ago
2
Li match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
2
Replace text domain in WP i18n
PCRE (PHP <7.3)
This will find all instances where the WP i18n function __() is used, and change the text domain to something else. This will recognize instances of the function use as separate, even if they appear in the same function
Submitted by
Xedin Unknown
-
10 years ago
2
Date validator for mm/dd/yy
ECMAScript (JavaScript)
no description available
Submitted by
Dheeraj Khushalani - dotnetguy.net
-
10 years ago
2
Match 4chan thread URL
ECMAScript (JavaScript)
Matches a 4chan thread URL, see the examples
Submitted by
Zeke Sonxx <github.com/zekesonxx>
-
10 years ago
2
find numeric groups in strings
PCRE (PHP <7.3)
no description available
Submitted by
Vovan
-
10 years ago
2
SO “00000000000000000000000000000†is match to Regex “^[1-9]|0$†in .N
PCRE (PHP <7.3)
Test regex for question.
Submitted by
pwas
-
10 years ago
2
log trillian
Python
no description available
Submitted by
NTP-[SADAS]
-
10 years ago
2
PAN verification regex
PCRE (PHP <7.3)
Regex to verify PAN in India
Submitted by
Anirban
-
10 years ago
2
fail2ban real expression for w00tw00t
PCRE (PHP <7.3)
A real fai2ban expression for w00tw00t with alias substitution
Submitted by
MarcD
-
10 years ago
2
Positive Numbers greater than 0 with leading zeroes.
ECMAScript (JavaScript)
Accepts all positive numbers above 0. Accepts numbers with leading zeroes e.g.: 0123, 00123.
Submitted by
Sandeep Ranka
-
10 years ago
2
e164 format
ECMAScript (JavaScript)
e164 format
Submitted by
anonymous
-
10 years ago
2
phone regex
ECMAScript (JavaScript)
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
10 years ago
2
donotbackup
PCRE (PHP <7.3)
finding directories w/ donotbackup
Submitted by
anonymous
-
10 years ago
2
Regular Expression For Date
ECMAScript (JavaScript)
Regular expression for asp:RegularExpressionValidator with format MMddyy. i have Resolved leap year issue as well as month ending day issue with Regular expression
Submitted by
Priyanka Khadilkar
-
10 years ago
2
Email validation
ECMAScript (JavaScript)
Very crude, but effective email validation.
Submitted by
Ryan Oaks
-
10 years ago
2
Finding a string along with a few other words
PCRE (PHP <7.3)
no description available
Submitted by
A.K. Asik
-
10 years ago
1
...
857
858
859
860
861
...
901
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
^
[
0
-
9
]
{3}
[
\
]
{0,1}
[
0
-
9
]
{3}
[
\
]
{0,1}
[
0
-
9
]
{4}
$
/
Open regex in editor
Description
Accepts spaces or not 1234567890 123 456 7890
Submitted by
Christopher Dufort
-
10 years ago