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 220 community submitted regex patterns...
0
pxc plcnext
Golang
plcnext version strings
Submitted by
anonymous
-
2 years ago
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
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
Unicode Hexadecimal
Rust
Find hexadecimal numbers using Extended Unicode Support.
Submitted by
anonymous
-
a year ago
(Last modified 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
1
...
9
10
11
Community Library Entry
3
Regular Expression
Golang
`
(?i)
^
(?:
(
[
a
-
z0
-
9-
]
+
|
\*
)
\.
)?
(
[
a
-
z0
-
9-
]
{1,61}
)
\.
(
[
a
-
z0
-
9
]
{2,7}
)
$
`
gm
Open regex in editor
Description
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
8 years ago