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 11,860 community submitted regex patterns...
1
Number 0-100, 2 decimals
PCRE (PHP <7.3)
A number between 0 and 100 (including them) with up to two decimals. The decimal separator can be . or , . Usefull for percentage.
Submitted by
anonymous
-
9 years ago
1
CEDICT Chinese dictionary line parts
PCRE (PHP <7.3)
Matches the four parts (simplified, traditional, pinyin, definition) of a CEDICT dictionary line
Submitted by
Hugh Grigg
-
9 years ago
1
Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
^(?:0814|0815|0816|0855|0856\d|0857\d|0858\d|0859\d|0[^08]\d)\d{6,9}$
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Less number variables to dictionary
PCRE (PHP <7.3)
extract keys and values from .less variables
Submitted by
actarian
-
9 years ago
1
russian phone number hard validation (multiformat)
PCRE (PHP <7.3)
Supported formats (mobile): +7(xxx)xxx xxxx +7(xxx)xxxxxxx +7(xxx)xxx-xx-xx +7(xxx)xxx xx xx +7 xxx xxx xx xx...
Submitted by
Redfern.89
-
9 years ago
1
Valid date ddMMyyyy + .zip extension
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
CVE descriptors
PCRE (PHP <7.3)
no description available
Submitted by
Noir
-
9 years ago
1
Match numbers with consecutive digits
PCRE (PHP <7.3)
Match numbers with consecutive digits and of length 3.
Submitted by
OnlineCop
-
9 years ago
1
Find exact domain name match
PCRE (PHP <7.3)
Find exact domain name match in pipe delimeted string
Submitted by
anonymous
-
9 years ago
1
Extract times from a string
PCRE (PHP <7.3)
I use this to extract and later calculate the difference between two times.
Submitted by
Ernie C.
-
9 years ago
1
GET EMAIL INFO (3)
PCRE (PHP <7.3)
Get Gmail tag, user and domain of an email address. -- Fixed the bug that the label doesn't match if there are an dot on user.
Submitted by
Matías Pizarro González
-
9 years ago
1
Does not match
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Get src in img
PCRE (PHP <7.3)
Get src in img
Submitted by
Andy
-
9 years ago
1
hex string
PCRE (PHP <7.3)
match 00aabbcc... or 00:aa:bb:cc...
Submitted by
minji
-
9 years ago
1
Extract names of XML attributes that have values
PCRE (PHP <7.3)
Extracts attribute names from an XML file and presents them as a simple list. Affects only the attributes that have values. Ignores the "parent" attributes (that have no values but have nested attributes).
Submitted by
O.Khilkevych / D.Mrachkovsyi
-
9 years ago
1
YouTube ID Capture
PCRE (PHP <7.3)
Works on "*youtube.com" urls, as well as "youtu.be" urls
Submitted by
Lucanos
-
9 years ago
1
regex words
PCRE (PHP <7.3)
get all words related to regex
Submitted by
anonymous
-
9 years ago
1
Web page URL
PCRE (PHP <7.3)
Validates an URL of a web page
Submitted by
Heinrich Reimer
-
9 years ago
1
Empty string test
PCRE (PHP <7.3)
Regular for testing empty strings for validation purpose
Submitted by
anonymous
-
9 years ago
1
...
29
30
31
32
33
...
593
Date range match
1
Regular Expression
PCRE (PHP <7.3)
/
^
(?P<start>
.
*
)
\s
(
-
|
to
)
\s
(?P<end>
.
*
)
$
/
is
Open regex in editor
Description
This is not my creation, it is from a github repor
Submitted by
Saji N
-
10 years ago