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...
1
ReGEX EXPression
ECMAScript (JavaScript)
ReGEX EXPression generating Values but repeating want values should not repeat.
Submitted by
anonymous
-
10 years ago
1
postfix
Python
get ip identifier, queue name, email domain and status from postfix log
Submitted by
kglod
-
10 years ago
1
Find a select or select top in a query
ECMAScript (JavaScript)
Some times we need replace de first select in a query to another. In my case i want replace to "Select top 1". With that a can replace any select to select top 1.
Submitted by
Diego Troitiño
-
10 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
-
10 years ago
1
Valid date ddMMyyyy + .zip extension
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
Timecode
Python
Regex to match standard timecode format. (Updated with fewer groups).
Submitted by
Travis
-
10 years ago
1
CVE descriptors
PCRE (PHP <7.3)
no description available
Submitted by
Noir
-
10 years ago
1
Match numbers with consecutive digits
PCRE (PHP <7.3)
Match numbers with consecutive digits and of length 3.
Submitted by
OnlineCop
-
10 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
Email validator JavaScript
ECMAScript (JavaScript)
Validates all possible emails with western and cyrilic chars.
Submitted by
hudsonvsm
-
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
Simple Valid File Names
ECMAScript (JavaScript)
Simple file names. Special chars allowed (-_.) {3, 40}
Submitted by
CADII
-
9 years ago
1
get number and unit in string
ECMAScript (JavaScript)
match int or float number, and following word (unit for example)
Submitted by
Etienne Goumet
-
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
country name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
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
...
50
51
52
53
54
...
902
Community Library Entry
1
Regular Expression
Python
r"
(?P<remote>
[
\.
0
-
9
]
+
)
(?P<identity>
[
\w\d
\-
]
+
)
(?P<user>
[
\w\d
\-
]
+
)
\[
(?P<date>
.
*
?
)
\]
"
(?P<method>
\w
+
)
(?P<url>
.
*
?
)
(?P<protocol>
[
\w
\/\.
\d
]
+
)
"
(?P<status>
\d
+
)
(?P<bytes>
[
\d
-
]
+
)
"
(?P<referer>
.
*
?
)
"
"
(?P<agent>
.
*
?
)
"
"
Open regex in editor
Description
no description available
Submitted by
Claudio Borges
-
9 years ago