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 11,560 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
RFC-3339
PCRE2 (PHP >=7.3)
A regex to validate RFC-3339 timestamps
Submitted by
anonymous
-
3 months ago
2023-06-20 20:55
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
檢查密碼是否符合要求
PCRE2 (PHP >=7.3)
長度在12到30個字符之間; 至少包含一個小寫字母; 至少包含一個大寫字母; 至少包含一個數字; 至少包含一個特殊符號(如!@#$%^&*()_+{}|:"?[];',./`~-)。
Submitted by
SCL
-
3 months ago
2023-06-20 08:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Signals
PCRE2 (PHP >=7.3)
Replace Signal
Submitted by
RedFox Regex
-
3 months ago
2023-06-20 04:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Emails regex
PCRE2 (PHP >=7.3)
This regex will validate pretty much every mail that could exist. It allows aliases and tags in the mail, therefore the mail can contain one or more dots and/or "+" signs (Exemple: exemple.test.alias+tag+tag2). It also allows Internationalized Domain Names (IDNs) (Exemple: @café.com), subdomains (Ex...
Submitted by
Skyle
-
3 months ago
2023-06-20 02:25
(Last modified 3 months ago)
2023-06-20 02:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Extract Dive Properties from Dive Code
PCRE2 (PHP >=7.3)
Extracts the following properties from a properly formatted dive code as specified by the World Aquatics organisation.
Submitted by
Hessel Bierma
-
3 months ago
2023-06-19 16:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
check simple code
PCRE2 (PHP >=7.3)
Check simple codes between 1 and 5 numbers: 281, 81992, 18, 829a7, 8299192
Submitted by
Stormyz
-
3 months ago
2023-06-19 06:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
all email types
PCRE2 (PHP >=7.3)
work@ing.yes
Submitted by
Stormyz
-
3 months ago
2023-06-19 06:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Bangladeshi Phone Number Matching Regex
PCRE2 (PHP >=7.3)
Bangladeshi Any Phone Number Validated preg_match() in php function
Submitted by
anonymous
-
3 months ago
2023-06-18 11:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Parsing a Log File Entry
PCRE2 (PHP >=7.3)
This regular expression matches the start of the string at the position where we have one or more alphanumeric characters followed by a space. Afterwards, we have a digit (one or more). Later, we have one or more spaces followed by a time format followed by a space and alphanumeric characters. The i...
Submitted by
Muhammad Afroz Khan Ghauri
-
4 months ago
2023-06-17 10:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Clearlinux Repository file pattern
PCRE2 (PHP >=7.3)
not production ready
Submitted by
anonymous
-
4 months ago
2023-06-17 05:43
(Last modified 4 months ago)
2023-06-17 15:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex PO 2
PCRE2 (PHP >=7.3)
Regex PO 2
Submitted by
anonymous
-
4 months ago
2023-06-16 14:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regex PO
PCRE2 (PHP >=7.3)
Regex PO
Submitted by
anonymous
-
4 months ago
2023-06-16 14:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
8 Character Password
PCRE2 (PHP >=7.3)
RegEx
Submitted by
anonymous
-
4 months ago
2023-06-16 03:03
-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
-
4 months ago
2023-06-14 16:54
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
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
-
4 months ago
2023-06-14 16:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Kaspersky Security Center update domains (HTTP)
PCRE2 (PHP >=7.3)
Match Kaspersky Security Center update domains for exclusion from HTTP logs
Submitted by
kernelmustard
-
4 months ago
2023-06-14 16:34
(Last modified 4 months ago)
2023-06-14 16:35
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Kaspersky Security Center update domains (TLS)
PCRE2 (PHP >=7.3)
Match Kaspersky Security Center update domains for exclusion from TLS logs
Submitted by
kernelmustard
-
4 months ago
2023-06-14 16:32
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Kaspersky Security Center update domains (DNS)
PCRE2 (PHP >=7.3)
Match Kaspersky Security Center update domains for exclusion from DNS logs
Submitted by
kernelmustard
-
4 months ago
2023-06-14 16:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
ESET DNS Load Balancer domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET DNS Load Balancer domains for exclusion from DNS logs
Submitted by
kernelmustard
-
4 months ago
2023-06-14 14:56
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
ESET MSP Utility domains (DNS)
PCRE2 (PHP >=7.3)
Match ESET MSP Utility domains for exclusion from DNS logs
Submitted by
kernelmustard
-
4 months ago
2023-06-14 14:52
1
...
4
5
6
7
8
9
10
...
578
FileTimeStamp regex
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(?<year>
\d
{4}
)
(?<month>
\d
{2}
)
(?<day>
\d
{2}
)
-
(?<hour>
\d
{2}
)
(?<minutes>
\d
{2}
)
(?<seconds>
\d
{2}
)
.
*
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Stéphane van Gulick
-
5 months ago
2023-04-24 07:08