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 9,420 community submitted regex patterns...
0
匹配限定后缀名中的指定关键字,忽略大小写
Golang
匹配.mkv和.mp4后缀名中包含menu或sp或.sample,忽略大小写
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
匹配限定后缀名的文件,忽略大小写
Golang
匹配.mka后缀名的文件,忽略大小写
Submitted by
anonymous
-
2 years ago
0
Example 1.1: Pet Name
PCRE (PHP <7.3)
Example used in slide 39
Submitted by
anonymous
-
2 years ago
0
walter1976LastClean
Golang
walter1976LastClean
Submitted by
anonymous
-
2 years ago
0
Get digits
Golang
Trying to get digits
Submitted by
Arthur Silva
-
2 years ago
0
domain name with subdomains
PCRE (PHP <7.3)
should match any domain with one or more subdomains
Submitted by
Igor Tiulkanov
-
2 years ago
0
Unicode Hexadecimal
Rust
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
latlonlatlon
PCRE (PHP <7.3)
gg
Submitted by
anonymous
-
2 years ago
0
Proxy Matcher
PCRE (PHP <7.3)
Validate 1-223.0-255.0-255.0-255:1-65535
Submitted by
dev.tntd2k2
-
2 years ago
0
strip host port
PCRE (PHP <7.3)
removes port number from URL
Submitted by
pc
-
2 years ago
0
jiggl
PCRE (PHP <7.3)
toggl track to jira
Submitted by
anonymous
-
a year ago
0
Catch packages from 'tdnf list' output
Golang
Every valid line will be of the form: . . . NOTE: the distribution tag is expected to start with at least one letter and be followed by at least one digit.
Submitted by
anonymous
-
a year ago
0
whois
PCRE (PHP <7.3)
whois find param
Submitted by
anonymous
-
a year ago
0
Tracking Number Recognition and Parsing
PCRE (PHP <7.3)
T
Submitted by
anonymous
-
a year ago
0
Additional
PCRE (PHP <7.3)
Splitting Additionalname in Basename and Specification
Submitted by
JK
-
a year ago
(Last modified a year ago)
1
...
469
470
471
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