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,000 community submitted regex patterns...
-1
Email
ECMAScript (JavaScript)
validation email
Submitted by
anonymous
-
2 years ago
-1
Extract favicon from html head meta links
ECMAScript (JavaScript)
I needed a generic way to pull the shortcut icon for sites. This expression parses the html for the icon. If the icon was not found, my code checks for the "favicon.ico" in the root of the site.
Submitted by
groundh0g
-
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
MMM DDD YYYY
.NET 7.0 (C#)
FEB MON 2023
Submitted by
anonymous
-
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
regex to check for buffer printing
Python
This regex checks if c/c++ code contains char buffer that is later printed.
Submitted by
tagoras
-
2 years ago
-1
Matching un-wrapped HTML & CSS code blocks in Markdown
ECMAScript (JavaScript)
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
a year 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
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
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
...
525
526
527
528
529
...
900
Community Library Entry
-1
Regular Expression
PCRE (PHP <7.3)
/
(?:
https
?
:
\/\/
)?
(?:
www
\.
)?
facebook
\.
com
\/
(?:
(?:
\w
)*
#!
\/
)?
(?:
pages
\/
)?
(?:
[
\w
\-
]
*
\/
)*
?
(?:
profile
.
php
\?
id=
(?=
\d.
*
)
)?
(
[
\w
\-
]
*
)?
(?:
[
\w
\-\.
]
*
)?
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago