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
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
-
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
-
2 years ago
-1
Iranian Mobile Numbers
PCRE2 (PHP >=7.3)
To Validate Iranian Operators Number Validation
Submitted by
AMAISGOD
-
2 years ago
-1
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
2 years ago
-1
Kaspersky update domains (TLS)
PCRE2 (PHP >=7.3)
Match Kaspersky update domains for exclusion from TLS logging
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years ago)
-1
Kaspersky update servers
PCRE2 (PHP >=7.3)
Match Kaspersky update servers for exclusion from HTTP logging
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years ago)
-1
WIndows update domains (DNS)
PCRE2 (PHP >=7.3)
Match Windows Update domains for exclusion from DNS logging
Submitted by
kernelmustard
-
2 years ago
(Last modified 2 years 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
-
2 years ago
(Last modified 2 years 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
-
2 years ago
(Last modified 2 years 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
-
2 years ago
(Last modified 2 years 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
-
2 years 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
-
2 years ago
(Last modified 2 years 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
-
2 years ago
(Last modified 2 years 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
-
2 years ago
(Last modified 2 years 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
-
2 years ago
(Last modified 2 years ago)
-1
Kaspersky Security Center KSN domains (TLS)
PCRE2 (PHP >=7.3)
Match a subset of Kaspersky Security Center KSN domains that use TLS port 1443 (in addition to 443) for exclusion from TLS logs
Submitted by
kernelmustard
-
2 years ago
-1
Email with (TLD match)
ECMAScript (JavaScript)
Match an email address and the TLD (.com, .net, .org etc) String: test@test.net Matches: test@test.net|.net
Submitted by
Frosty
-
2 years ago
(Last modified 3 months ago)
-1
IPv4 Address Match
ECMAScript (JavaScript)
Matches IP addresses
Submitted by
jimbrig
-
a year ago
1
...
378
379
380
381
382
...
902
Community Library Entry
0
Regular Expression
Golang
`
^
(
#
Time:
(
\d
+
)
\s
(
[^
\n
]
+
)
\n
)?
#
User@Host:
(
\w
+
\[
\w
+
\]
)
\s
@
\s
\[
(
[
\d
|
\.
]
+
)
\]
\s
Id:
(
\d
+
)
\n
#
Query_time:
(
\d
+
\.
\d
+
)
Lock_time:
(
\d
+
\.
\d
+
)
Rows_sent:
(
\d
+
)
Rows_examined:
(
\d
+
)
\n
(
(
.
|
\n
)*
)
$
`
g
Open regex in editor
Description
parse log data
Submitted by
anonymous
-
4 years ago