Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
Order By
Most Recent
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET (C#)
Rust
Sponsors
Community Patterns
Search among 2,360 community submitted regex patterns...
-1
1 upvotes, 2 downvotes (score 6.1%) (You must be signed in to vote)
Discord name with both old and new name support
PCRE2 (PHP >=7.3)
This discord regex supports both the new and the old version of discord names. Old: NAME#[0001-9999] Between 2 and 32 characters....
Submitted by
Fy17
-
6 months ago
2023-05-22 07:39
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Iranian Mobile Numbers
PCRE2 (PHP >=7.3)
To Validate Iranian Operators Number Validation
Submitted by
AMAISGOD
-
6 months ago
2023-06-11 10:41
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Kaspersky update domains (TLS)
PCRE2 (PHP >=7.3)
Match Kaspersky update domains for exclusion from TLS logging
Submitted by
kernelmustard
-
6 months ago
2023-06-12 15:08
(Last modified 6 months ago)
2023-06-13 15:52
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Kaspersky update servers
PCRE2 (PHP >=7.3)
Match Kaspersky update servers for exclusion from HTTP logging
Submitted by
kernelmustard
-
6 months ago
2023-06-12 15:10
(Last modified 6 months ago)
2023-06-13 15:53
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
WIndows update domains (DNS)
PCRE2 (PHP >=7.3)
Match Windows Update domains for exclusion from DNS logging
Submitted by
kernelmustard
-
6 months ago
2023-06-12 15:31
(Last modified 6 months ago)
2023-06-13 15:54
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
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
-
6 months ago
2023-06-12 18:57
(Last modified 6 months ago)
2023-06-13 15:56
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
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
-
6 months ago
2023-06-12 19:10
(Last modified 6 months ago)
2023-06-13 15:58
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
ESET Advanced Machine Learning servers (DNS)
PCRE2 (PHP >=7.3)
Match ESET Advanced Machine Learning servers for exclusion from DNS logs
Submitted by
kernelmustard
-
6 months ago
2023-06-12 19:28
(Last modified 6 months ago)
2023-06-13 16:00
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
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
-
6 months ago
2023-06-13 13:52
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
ESET Antispam Module v3 domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Antispam Module v3 domains for exclusion from DNS logs
Submitted by
kernelmustard
-
6 months ago
2023-06-13 14:18
(Last modified 6 months ago)
2023-06-13 16:21
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
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
-
6 months ago
2023-06-13 14:23
(Last modified 6 months ago)
2023-06-13 16:22
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
ESET main window link domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET main window link domains for exclusion from DNS logs
Submitted by
kernelmustard
-
6 months ago
2023-06-13 14:42
(Last modified 6 months ago)
2023-06-13 16:24
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
ESET Mobile Security activation domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET Mobile Security activation domains for exclusion from DNS logs
Submitted by
kernelmustard
-
6 months ago
2023-06-13 14:48
(Last modified 6 months ago)
2023-06-13 16:24
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
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
-
6 months ago
2023-06-14 16:54
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
HZS003 - PODs (find ref)
PCRE2 (PHP >=7.3)
den finder referencer der starter med afdelingsnummer efterfulgt af fil-ref
Submitted by
anonymous
-
5 months ago
2023-07-13 08:33
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Match leading number of port and replace it with another
PCRE2 (PHP >=7.3)
the point is to help replace leading number with another number to prevent some services uses same port
Submitted by
anonymous
-
5 months ago
2023-07-13 09:06
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
i18n extract
PCRE2 (PHP >=7.3)
extract strings between {…} or __(…)
Submitted by
ced404
-
5 months ago
2023-07-13 10:08
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Regex example
PCRE2 (PHP >=7.3)
For pldi
Submitted by
PlaceReporter99
-
5 months ago
2023-07-13 11:02
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
7 Days to Die replace party girl
PCRE2 (PHP >=7.3)
A regular expression for replacing Arlene and party girl with the lab tech model in 7 Days to Die. This ought to be applied to the file D:\Program Files (x86)\Steam\steamapps\common\7 Days To Die\Data\Config\entitygroups.xml
Submitted by
anonymous
-
5 months ago
2023-07-14 17:11
-1
0 upvotes, 1 downvotes (score 0%) (You must be signed in to vote)
Bwt Double Quotes
PCRE2 (PHP >=7.3)
Select string between double quotes.
Submitted by
anonymous
-
5 months ago
2023-07-16 10:15
1
2
3
4
5
...
118
From conf table to hive table
-2
0 upvotes, 2 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
(
\w
+
)
\t
(
[
\w
()
]
+
)
\t
(
.
+
)
\t\d
/
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2021-02-18 19:33