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 6,300 community submitted regex patterns...
1
Match IPv6 Address
PCRE2 (PHP >=7.3)
Movin4Life.org
Submitted by
anonymous
-
4 months ago
1
Match Legal HTML Tags
PCRE2 (PHP >=7.3)
NewNulled.com
Submitted by
anonymous
-
4 months ago
1
Match Valid HTML5 Color Names
PCRE2 (PHP >=7.3)
RascalJournal.com
Submitted by
anonymous
-
4 months ago
1
Match Passwords with Minimum Length and Special Characters
PCRE2 (PHP >=7.3)
SimsWriters.com
Submitted by
anonymous
-
4 months ago
1
Match SQL Comments
PCRE2 (PHP >=7.3)
fluiddigitalmedia.com
Submitted by
anonymous
-
4 months ago
1
Match Hexadecimal Strings regex
PCRE2 (PHP >=7.3)
hackingtechnicalinterview.com
Submitted by
anonymous
-
4 months ago
1
Match US ZIP Code with Optional Extension
PCRE2 (PHP >=7.3)
miyuediy.net
Submitted by
anonymous
-
4 months ago
1
Match Times in 12-Hour Format (HH AM/PM)
PCRE2 (PHP >=7.3)
onlinebusinessshop.net
Submitted by
anonymous
-
4 months ago
1
Match Decimal Numbers with Thousand Separator
PCRE2 (PHP >=7.3)
BusinessMagHub.com
Submitted by
anonymous
-
4 months ago
1
Match Credit Card Numbers (Visa, MasterCard)
PCRE2 (PHP >=7.3)
DesignMagazines.net
Submitted by
anonymous
-
4 months ago
1
Match HTML Tags with Attributes
PCRE2 (PHP >=7.3)
DoWiesPlace.com
Submitted by
anonymous
-
4 months ago
1
Match Username with Special Characters
PCRE2 (PHP >=7.3)
NetBusinessZone.com
Submitted by
anonymous
-
4 months ago
1
Match Specific File Extensions (e.g., .jpg, .png)
PCRE2 (PHP >=7.3)
NewIntrEnds.com
Submitted by
anonymous
-
4 months ago
1
Match Non-Digit Characters
PCRE2 (PHP >=7.3)
TechnicalBudd.com
Submitted by
anonymous
-
4 months ago
1
Match a credit card number with optional dashes or spaces
PCRE2 (PHP >=7.3)
TerraWats.com
Submitted by
anonymous
-
4 months ago
1
Match Valid Domain Name
PCRE2 (PHP >=7.3)
ToopFile.com
Submitted by
anonymous
-
4 months ago
1
Match Credit Card Number with Optional Spaces
PCRE2 (PHP >=7.3)
TreeLyrics.com
Submitted by
anonymous
-
4 months ago
1
XML Attribute
PCRE2 (PHP >=7.3)
apsmart.mobi
Submitted by
anonymous
-
4 months ago
1
Currency Amount
PCRE2 (PHP >=7.3)
banglore.club
Submitted by
anonymous
-
4 months ago
1
Non-Greedy Match
PCRE2 (PHP >=7.3)
bushrevealed.com
Submitted by
anonymous
-
4 months ago
1
...
282
283
284
285
286
...
315
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