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 6,600 community submitted regex patterns...
0
varnish
PCRE2 (PHP >=7.3)
varnish config
Submitted by
anonymous
-
a year ago
0
Markdown JSON codeblock match
ECMAScript (JavaScript)
Useful to extract JSON from LLM markdown responses
Submitted by
Lamer217
-
a year ago
(Last modified a year ago)
0
ESET Password Manager domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Password Manager domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
ESET Mail Security Antispam module domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Mail Security Antispam module domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
ESET Mobile Security activation URI (HTTP)
PCRE2 (PHP >=7.3)
Match the ESET Mobile Security activation URI for exclusion from HTTP logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
Options symbol parse
ECMAScript (JavaScript)
parse option symbol
Submitted by
anonymous
-
a year ago
0
IP address validation
PCRE2 (PHP >=7.3)
IP address validation
Submitted by
anonymous
-
a year ago
0
Auto sentence capitalization
PCRE2 (PHP >=7.3)
only works in implementations with \U
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Match XML Comment
PCRE2 (PHP >=7.3)
Match any XML comment in an XML Document
Submitted by
Anthony Bateman
-
a year ago
0
Special character finder
PCRE2 (PHP >=7.3)
yep
Submitted by
anonymous
-
a year ago
0
Kaspersky Security Center update domains (HTTP)
PCRE2 (PHP >=7.3)
Match Kaspersky Security Center update domains for exclusion from HTTP logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
8 Character Password
PCRE2 (PHP >=7.3)
RegEx
Submitted by
anonymous
-
a year ago
0
Remove JSON value quotes
ECMAScript (JavaScript)
Removes quotes from value of JSON string
Submitted by
anonymous
-
a year ago
0
Regex PO
PCRE2 (PHP >=7.3)
Regex PO
Submitted by
anonymous
-
a year ago
0
Regex PO 2
PCRE2 (PHP >=7.3)
Regex PO 2
Submitted by
anonymous
-
a year ago
0
parse data URL
ECMAScript (JavaScript)
Parse Data URL like: data:image/png;base64,__iVBORw0KGgoAAAANSUhEUgAAAAUAAAAFCAYAAACNbyblAAAAHElEQVQI12P4//8/w38GIAXDIBKE0DHxgljNBAAO9TXL0Y4OHwAAAABJRU5ErkJggg==__
Submitted by
Alan S. Ferreira
-
a year ago
0
Matches words and groups words in quotes
ECMAScript (JavaScript)
Spilt a string grouping words in quotes. String: First Last "Full Name" Matches: First|Last|"Full Name"
Submitted by
Frosty
-
a year ago
0
Clearlinux Repository file pattern
PCRE2 (PHP >=7.3)
not production ready
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
Parsing a Log File Entry
PCRE2 (PHP >=7.3)
This regular expression matches the start of the string at the position where we have one or more alphanumeric characters followed by a space. Afterwards, we have a digit (one or more). Later, we have one or more spaces followed by a time format followed by a space and alphanumeric characters. The i...
Submitted by
Muhammad Afroz Khan Ghauri
-
a year ago
0
Bangladeshi Phone Number Matching Regex
PCRE2 (PHP >=7.3)
Bangladeshi Any Phone Number Validated preg_match() in php function
Submitted by
anonymous
-
a year ago
1
...
325
326
327
328
329
330
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(?(DEFINE)
(?'loc_part'
[
\w
!#$%&'*+
\-\/
=?^`{|}~
]
+
)
(?'loc'
\g'loc_part'
(?:
\.
\g'loc_part'
)*
)
(?'subdom'
[
a
-
z
]
(?:
[
a
-
z
\d
-
]
*
[
a
-
z
\d
]
)?
)
(?'tld'
[
a
-
z
]
{2,6}
)
)
(?'local'
\g'loc'
)
@
(?'domain'
(?:
\g'subdom'
\.
)+
\g'tld'
)
/
ixg
Open regex in editor
Description
match some emails and extract their local part and domain
Submitted by
dang duomg 191
-
6 months ago
(Last modified 6 months ago)