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 12,160 community submitted regex patterns...
-1
Match Consonants
PCRE2 (PHP >=7.3)
Use regex to test whether a letter is a consonant or not. Use /[B-DF-HJ-NP-TV-Z]/ for capitals.
Submitted by
Matthew Hiebing
-
2 years ago
-1
Bluerose order-code
PCRE2 (PHP >=7.3)
order-code 20220623-19563352 20220623-18261367 20220606-15484894 20220606-15484 20220606...
Submitted by
anonymous
-
2 years ago
-1
Best REGEX for extracting FILENAME WITHOUT EXTENSION and EXTENSION from any Posix-like path (version 4)
PCRE (PHP <7.3)
Best REGEX for extracting FILENAME WITHOUT EXTENSION and EXTENSION from any Posix-like path (version 4)
Submitted by
anonymous
-
2 years ago
-1
get_data
PCRE (PHP <7.3)
Extract any kind of numerical value (int or double, positive or negative) from a string written as a vector (ie '(#1, #2, #3)' ).
Submitted by
Jamie C. Dyer
-
2 years ago
-1
IP6 Validator Address (Simple)
PCRE2 (PHP >=7.3)
Short form validation of an IP6 address Less complex than other examples I have seen around
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
-1
phone
PCRE2 (PHP >=7.3)
regex for phone
Submitted by
anonymous
-
2 years ago
-1
alluse
PCRE (PHP <7.3)
/^(?P0|[1-9]\d)\.(?P0|[1-9]\d)\.(?P0|[1-9]\d)(?:-(?P(?:0|[1-9]\d|\da-zA-Z-)(?:\.(?:0|[1-9]\d|\da-zA-Z-))))?(?:\+(?P[0-9a-zA-Z-]+(?:\.[0-9a-zA-Z-]+)*))?$/gm
Submitted by
alluse
-
2 years ago
-1
url matcher 2.0
PCRE2 (PHP >=7.3)
now matches any protocol, as well as username, password, query and fragment. query is not split
Submitted by
Mitsunee
-
a year ago
-1
Iranian Mobile Numbers
PCRE2 (PHP >=7.3)
To Validate Iranian Operators Number Validation
Submitted by
AMAISGOD
-
a year ago
-1
Kaspersky update domains (TLS)
PCRE2 (PHP >=7.3)
Match Kaspersky update domains for exclusion from TLS logging
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
Kaspersky update servers
PCRE2 (PHP >=7.3)
Match Kaspersky update servers for exclusion from HTTP logging
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
WIndows update domains (DNS)
PCRE2 (PHP >=7.3)
Match Windows Update domains for exclusion from DNS logging
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
ESET Detection Engine update servers (DNS)
PCRE2 (PHP >=7.3)
Match domains of ESET Detection Engine update servers for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
ESET Secure Authentication Provisioning Server (TLS)
PCRE2 (PHP >=7.3)
Match ESET Secure Authentication Provisioning Server domains for exclusion from TLS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
ESET Advanced Machine Learning servers (DNS)
PCRE2 (PHP >=7.3)
Match ESET Advanced Machine Learning servers for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
ESET Web/Parental Control Module domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Web/Parental Control Module domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
-1
ESET Antispam Module v3 domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Antispam Module v3 domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
ESET Antispam Module v4/5 domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Antispam Module v4/5 domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
ESET main window link domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET main window link domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
-1
ESET Mobile Security activation domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Mobile Security activation domains for exclusion from DNS logs
Submitted by
kernelmustard
-
a year ago
(Last modified a year ago)
1
...
252
253
254
255
256
...
608
Community Library Entry
-2
Regular Expression
Rust
r"
(
(
[^
\n
:#
]
*
)
(?:
:
(
[^
\n
#
]
+
)
)?
)
(?:
#
(
[
0
-
9A
-
Za
-
z
]
+
)
(?:
\(
(
\d
+
\.
?
\d
*
)
\)
)?
)?
"
g
Open regex in editor
Description
The regex to match a single pro forma modification with all its intricacies.
Submitted by
Douwe Schulte
-
a year ago