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...
-2
regex101
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
regex demo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Test post by e-mail
PCRE (PHP <7.3)
Description here
Submitted by
Arief
-
10 years ago
-2
Name
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
10 years ago
-2
Extract email client inserted "On <DATE>, <SENDER> wrote:"
PCRE (PHP <7.3)
Email clients add this line, call it "sender wrote" to reply emails.
Submitted by
Vlad Burca
-
10 years ago
-2
strip text enclosed in parentheses that does not match any keyword(s)
PCRE (PHP <7.3)
strip or remove parentheses enclosed text - including the parentheses itself - only if the enclosed text does not contain any of the FULL keyword(s). Leave all parentheses enclosed text if it contains any keyword(s) listed in the regex string. Uses negative lookahead and \b for determining word boun...
Submitted by
marie bacuno
-
10 years ago
-2
ignore code comments
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Username
ECMAScript (JavaScript)
^[_a-zA-Z0-9]+$ how to make regex username with underscore. i'm using c# but this regex isn't working.
Submitted by
anonymous
-
10 years ago
-2
Detect DNS Zones with Authoritative Nameservers
PCRE (PHP <7.3)
This can be used to find all zone files that contain authoritative nameservers - e.g. perl -ne 'print if /^([\w.]+\.)\s+.+\sNS\s.+\1/' /var/named/*.db | awk '{print $1}' | sort | uniq
Submitted by
Santrix
-
10 years ago
-2
last, first middle name parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Test Balanced Parentheses
PCRE (PHP <7.3)
no description available
Submitted by
Me
-
10 years ago
-2
regex for redirect url
PCRE (PHP <7.3)
no description available
Submitted by
igor
-
10 years ago
-2
Test email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Any telephone number with region and country in any format
ECMAScript (JavaScript)
Matches any telephone number with region parentesis, or separated by points or dash or spaces
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
10 years ago
-2
Zipcode Mundial
PCRE (PHP <7.3)
no description available
Submitted by
Mariela Gonzalez
-
10 years ago
-2
Check syntax port ACL VNG
ECMAScript (JavaScript)
no description available
Submitted by
nguyenvq
-
10 years ago
-2
Get HTML DIV content
PCRE (PHP <7.3)
Get the content of a DIV HTML Tag.
Submitted by
Ivan Milazzotti
-
10 years ago
-2
cron expression
ECMAScript (JavaScript)
This is a relaxed cron validation, meaning that any valid cron expression should pass this; but not anything that passes regex validation is a good cron expression. Used as preliminary validation in web ui. Supports all special characters. Includes seconds field.
Submitted by
enlait
-
10 years ago
-2
UK (Europe) DateTime
ECMAScript (JavaScript)
Validates input to match UK Date Time standard
Submitted by
Bascoder
-
10 years ago
-2
Twitter Date format
ECMAScript (JavaScript)
no description available
Submitted by
hjgabrielsen
-
10 years ago
1
...
369
370
371
372
373
...
902
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
(
^
|
\t
|
\r\n
|
\n\r
|
\n
|
\r
)
"
(
(?:
(?:
"
{2}
|
[^
"
]
)*
(?:
\r\n
|
\n\r
|
\n
|
\r
)
)+
(?:
"
{2}
|
[^
"
]
)+
)
"
(
$
|
\t
|
\r\n
|
\n\r
|
\n
|
\r
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
4 years ago