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 2,900 community submitted regex patterns...
0
ESET LiveGrid reputation database (DNS)
PCRE2 (PHP >=7.3)
Match ESET LiveGrid reputation database domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
ESET Threat Lab domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Threat Lab domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
0
varnish
PCRE2 (PHP >=7.3)
varnish config
Submitted by
anonymous
-
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
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
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
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
0
Extract Dive Properties from Dive Code
PCRE2 (PHP >=7.3)
Extracts the following properties from a properly formatted dive code as specified by the World Aquatics organisation.
Submitted by
Hessel Bierma
-
a year ago
0
Cover dates from 2009 and older in French format and English
Java 8
Covering Dates starting from year 2009 and older in French and English Some of the valid Dates format April 2nd 2008 April 2 2008 April 02 2008...
Submitted by
Francois-Alexandre Valade-Casaubon
-
a year ago
0
Emails regex
PCRE2 (PHP >=7.3)
This regex will validate pretty much every mail that could exist. It allows aliases and tags in the mail, therefore the mail can contain one or more dots and/or "+" signs (Exemple: exemple.test.alias+tag+tag2). It also allows Internationalized Domain Names (IDNs) (Exemple: @café.com), subdomains (Ex...
Submitted by
Skyle
-
a year ago
(Last modified a year ago)
1
...
141
142
143
144
145
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
-
4 months ago
(Last modified 4 months ago)