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,000 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
-
9 years ago
-2
Test email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-2
Match website - http:|https://i.imgur.com
ECMAScript (JavaScript)
no description available
Submitted by
ghrifter
-
9 years ago
-2
Match Content-Range response header
ECMAScript (JavaScript)
Matches the Content-Range response header format -[end]/[total|*]
Submitted by
mdezem
-
9 years ago
-2
Find a IPV4
ECMAScript (JavaScript)
no description available
Submitted by
Jon Dotsoy
-
9 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
...
900
Community Library Entry
0
Regular Expression
Python
r"
[
\d
]
+
\.
(
[
\s\S
]
*
?
)
\n
+
A
.
(
[
\s\S
]
*
?
)
\n
+
B
.
(
[
\s\S
]
*
?
)
\n
+
C
.
(
[
\s\S
]
*
?
)
\n
+
D
.
(
[
\s\S
]
*
?
)
(?=
\n
)
"
g
Open regex in editor
Description
对有ABCD四个选项的选择题题目进行匹配
Submitted by
Wang Miao
-
a year ago