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...
0
ESET MSP Utility domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET MSP Utility domains for exclusion from DNS logs
Submitted by
kernelmustard
-
2 years ago
0
Kaspersky Security Center update domains (DNS)
PCRE2 (PHP >=7.3)
Match Kaspersky Security Center update domains for exclusion from DNS logs
Submitted by
kernelmustard
-
2 years ago
0
Kaspersky Security Center update domains (TLS)
PCRE2 (PHP >=7.3)
Match Kaspersky Security Center update domains for exclusion from TLS logs
Submitted by
kernelmustard
-
2 years ago
0
Kaspersky Security Center KSN service domains (DNS)
PCRE2 (PHP >=7.3)
Match Kaspersky Security Center KSN service domains for exclusion from DNS logs
Submitted by
kernelmustard
-
2 years ago
0
find a 6 lenght word with 2 consecutive digits
ECMAScript (JavaScript)
ragex solution for free code camp positive-and-negative-lookahead first assertion is (?=\w{6,}) where im matching for any char (a-z0-9_) and repeating the char matching 6 times, in other words, verifying that this word has 6 char being them a-z or digits. the second assertion was more difficult to...
Submitted by
gabriel silva lima
-
a year ago
0
GET country, prefix extended
ECMAScript (JavaScript)
This regex match group (country & Prefix) Separated by spaces or \s+ ↓↓ Example ↓↓ Australia 61 Dominica 1 (767) República Dominicana 1 (809/829/849) ...
Submitted by
https://github.com/hzvvictor
-
a year ago
(Last modified a year ago)
0
Sustitution of comments (one line) //
ECMAScript (JavaScript)
Sustitution of comments (one line) // Example ~ input (before) ↓↓ : // comment textplain other-text ...
Submitted by
hzvvictor: https://github.com/hzvvictor
-
a year ago
(Last modified a year ago)
0
matrix.to URL regex
Python
Regex to detect and extract detail from matrix.to
Submitted by
anonymous
-
a year ago
0
Matching french integer numbers
PCRE2 (PHP >=7.3)
Matching french integer numbers : group digits by 3 with a space between groups
Submitted by
scalpa
-
a year ago
0
PLP redirection
PCRE2 (PHP >=7.3)
PLP redirection
Submitted by
anonymous
-
10 months ago
0
Match IP Address with Port Number
PCRE2 (PHP >=7.3)
Movin4Life.org
Submitted by
anonymous
-
4 months ago
0
test
PCRE2 (PHP >=7.3)
test
Submitted by
anonymous
-
4 months ago
(Last modified 4 months ago)
0
Validates an IPv4 Address
PCRE2 (PHP >=7.3)
Given a string, the regex would match if it is a valid IPv4 address.
Submitted by
A-Paint-Brush
-
4 months ago
(Last modified 4 months ago)
-3
regex help
PCRE (PHP <7.3)
help please. i need regex,
Submitted by
James
-
11 years ago
-3
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
-3
Remove special character at first position of string
PCRE (PHP <7.3)
This search for special character at first position in the string
Submitted by
anonymous
-
9 years ago
-3
retrieve hostname without subdomain
PCRE (PHP <7.3)
no description available
Submitted by
Diego Zuluaga
-
9 years ago
-3
TD data from html table
Python
no description available
Submitted by
Deepak Bansal
-
9 years ago
-1
Simple replacing. Replaced first folder in path to file.
PCRE (PHP <7.3)
Used with Java regexp. F.e. you can use replaceAll("regexp", "filePath").
Submitted by
E.ch.
-
11 years ago
-1
Match inside square brackets without brackets
PCRE (PHP <7.3)
no description available
Submitted by
DanSkeel
-
11 years ago
1
...
365
366
367
368
369
...
902
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\\\\
(
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
\.
[
0
-
9
]
{1,3}
)
\\
[
-a
-
zA
-
Z_
0
-
9
]
+
\\
)
(?:
[
-a
-
zA
-
Z_
0
-
9
\.
]
+
\\
)*
/
gm
Open regex in editor
Description
Matches a full UNC path, capturing the IP address, share, and full path.
Submitted by
Harvey Nash
-
2 years ago