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,020 community submitted regex patterns...
-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
cofor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Test email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-2
Match website - http:|https://i.imgur.com
ECMAScript (JavaScript)
no description available
Submitted by
ghrifter
-
10 years ago
-2
Match Content-Range response header
ECMAScript (JavaScript)
Matches the Content-Range response header format -[end]/[total|*]
Submitted by
mdezem
-
10 years ago
-2
Find a IPV4
ECMAScript (JavaScript)
no description available
Submitted by
Jon Dotsoy
-
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
-
9 years ago
-2
Zipcode Mundial
PCRE (PHP <7.3)
no description available
Submitted by
Mariela Gonzalez
-
9 years ago
-2
Detect HTML Linebreak Tags
ECMAScript (JavaScript)
Detect various possible HTML linebreak tags (eg. )
Submitted by
@benhodgson
-
9 years ago
-2
Check syntax port ACL VNG
ECMAScript (JavaScript)
no description available
Submitted by
nguyenvq
-
9 years ago
-2
posix
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
spot2-test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Host and domains
Python
no description available
Submitted by
anonymous
-
9 years ago
-2
Get HTML DIV content
PCRE (PHP <7.3)
Get the content of a DIV HTML Tag.
Submitted by
Ivan Milazzotti
-
9 years ago
-2
String with 1 lowercase 1 uppercase & 1 digit
ECMAScript (JavaScript)
Regular expression for a validating a string with following rules: at least one lowercase letter at least one upper case letter at least one digit length between 6 and 14...
Submitted by
Rasmita Dash
-
9 years ago
1
...
4
5
6
7
8
...
901
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?<!
SQ
\d
{0}
|
\d
|
\d
{2}
)
(
51
\d
{14}
|
52
\d
{14}
|
53
\d
{14}
|
54
\d
{14}
|
55
\d
{14}
|
36
\d
{12}
|
34
\d
{13}
|
37
\d
{13}
|
4
\d
{15}
|
4
\d
{12}
|
\d
{4}
(
-
|
\s
)
\d
{4}
(
-
|
\s
)
\d
{4}
(
-
|
\s
)
\d
{4}
|
\d
{3}
(
-
|
\s
)
\d
{3}
(
-
|
\s
)
\d
{3}
(
-
|
\s
)
\d
{3}
(
-
|
\s
)
\d
{3}
|
\d
{4}
(
-
|
\s
)
\d
{6}
(
-
\s
)
\d
{5}
|
6
\d
{15}
)
/
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
6 years ago