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
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 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 7,960 community submitted regex patterns...
0
MSISDN_VALIDATE_KENYA_TELKOM
PCRE2 (PHP >=7.3)
MSISDN_VALIDATE_KENYA_TELKOM
Submitted by
tim-engnz
-
a year ago
0
MSISDN_VALIDATE_KENYA_AIRTEL
PCRE2 (PHP >=7.3)
MSISDN_VALIDATE_KENYA_AIRTEL
Submitted by
tim-engnz
-
a year ago
0
MSISDN_VALIDATE_KENYA_SAFARICOM
PCRE2 (PHP >=7.3)
MSISDN_VALIDATE_KENYA_SAFARICOM
Submitted by
tim-engnz
-
a year ago
0
CoreDNS Logs
PCRE2 (PHP >=7.3)
Parse CoreDNS Logs
Submitted by
Bharat Jindal
-
a year ago
0
Valid HTTP/HTTPS Callback
PCRE2 (PHP >=7.3)
Used to Validate a callback or link
Submitted by
tim
-
a year ago
0
GO SDK
PCRE2 (PHP >=7.3)
go sdk
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
0
NAPTR DNS record matcher
PCRE2 (PHP >=7.3)
This pattern identifies both variants of possible NAPTR DNS records
Submitted by
ggalmazor
-
a year ago
0
Content inside string
Python
Will match any character inside " or '
Submitted by
anonymous
-
a year ago
0
email vaildation
PCRE2 (PHP >=7.3)
email
Submitted by
anonymous
-
a year ago
0
mariadb err.log format
PCRE2 (PHP >=7.3)
extracting Warning , User and Message fileds
Submitted by
anonymous
-
a year ago
0
Typescript Types
ECMAScript (JavaScript)
get all typescript types, as well as imports and exports
Submitted by
snuffyDev
-
a year ago
1
USA phone matcher
PCRE2 (PHP >=7.3)
Regex for matching usa number like: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555...
Submitted by
Arif
-
a year ago
0
Discord Invite link - Updated
PCRE2 (PHP >=7.3)
Can match 7 variations of invites (the page discord.com/servers/ is included)
Submitted by
Diso
-
a year ago
0
match csrf token
PCRE2 (PHP >=7.3)
Matches the csrf token in the meta data
Submitted by
anonymous
-
a year ago
0
cuda with gpu-number regex
Python
Used for torch.device handling, so 'cuda' and 'cuda:0' both valid and can be used
Submitted by
Ilya Lubenets
-
a year ago
(Last modified a year ago)
0
Strict URL validation
PCRE2 (PHP >=7.3)
(?!.[.]{2})((https?|http)\:\/\/)?([a-z0-9+!(),;?&=\$.-]+(\:[a-z0-9+!(),;?&=\$.-]+)?@)?([a-z0-9-.-.]?(?!.\/).)\.([a-z]{2,1000})(\:[0-9]{2,5})?(\/([a-z0-9+\$-]\.?)+)\/?(\?a-z+&\$.-)?(#a-z_.-)?
Submitted by
Adwin Raj GP
-
a year ago
0
Different date format and label them accordingly
ECMAScript (JavaScript)
Classify \d\d \/ \d\d \/ \d{4} \w* \d\d, \d{4} \d{4}-\d\d-\d\d and label them
Submitted by
anonymous
-
a year ago
0
VTT and SRT parser
ECMAScript (JavaScript)
(?:^|(? ([0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})(.*?)((?:\d+\n)?(?=[0-2]\d:[0-5]\d:[0-5]\d[.,]\d{3})|$)
Submitted by
anonymous
-
a year ago
0
My Regex Expression
Python
I'm a new learner and I try to learn in coding & data analyst in web. And also need some financial support as well. I thank to you all when I get chance to learn from you all.
Submitted by
anonymous
-
a year ago
0
Name with title
PCRE2 (PHP >=7.3)
Name with title
Submitted by
anonymous
-
a year ago
1
...
53
54
55
56
57
...
398
Parsing result of SQL Server version (SELECT @@VERSION)
-2
Regular Expression
.NET 7.0 (C#)
@"
(
\d
{4}
)
.
(
\(
.
*
?
\)
)
.
(?:
\(
.
*
\)
)
.
-
.
(
\d
+
\.
)?
(
\d
+
\.
)?
(
\d
+
\.
)?
(
\*
|
\d
+
)
(?:
.
*
?
)
(?:
(
\w
+
)
.
Edition
)
(?:
.
*
?
)
(?:
Windows
.
(
\w
+
.\d
+
.\w
+
)
)
"
gm
Open regex in editor
Description
Parses MS SQL Server version returned from executing SELECT @@version
Submitted by
M Rivas
-
a year ago