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
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
3 years ago
0
camelCase Matches
PCRE (PHP <7.3)
camelCase Matches
Submitted by
anonymous
-
3 years ago
0
Match Strings itself
PCRE (PHP <7.3)
Match Strings itself, include ""
Submitted by
picc_lu
-
3 years ago
0
Split words in brackets
Golang
Split words in brackets
Submitted by
ugurakcil
-
3 years ago
0
cisco cat3650cx & cat1000 'show power inline'
Golang
Matching show power inline output on cat1000 & cat3560cx
Submitted by
me
-
3 years ago
0
instagram regex url get shortcode all type url
PCRE (PHP <7.3)
Get shortcode from all type instagram url group 1 for username group 2 for p group 3 for reel group 4 for tv...
Submitted by
anubiskun
-
3 years ago
0
Strip Azure Devops merge commit for fit changelog
PCRE (PHP <7.3)
Using the right headerPattern that can correctly parse either the merge message or the commit message I was able to workaround the issue
Submitted by
anonymous
-
3 years ago
0
assoc_ff_solucao
PCRE (PHP <7.3)
identifies ff in assoc
Submitted by
anonymous
-
3 years ago
0
Replacing URL through Hyperlink in Text
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
-
3 years ago
0
ds100reg5
PCRE (PHP <7.3)
ds100reg5
Submitted by
anonymous
-
3 years ago
2
regex101.com id grabber
PCRE (PHP <7.3)
Grabs the ID for the regex101.com permalink to code.
Submitted by
Sasha Garan
-
3 years ago
(Last modified 3 years ago)
1
ds100reg4
PCRE (PHP <7.3)
Data 100 Regular Expression 4, adapted from Princeton
Submitted by
anonymous
-
3 years ago
(Last modified 3 years ago)
3
Extract URL parts only named capturing groups
Golang
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago
0
الرقم القومي المصري Egyptian National ID numer
PCRE (PHP <7.3)
استخراج المعلومات من الرقم القومي المصري لمعلومات اكثر رجاء زيارة: استخراج المعلومات من الرقم القومي المصري برمجياً
Submitted by
anonymous
-
3 years ago
0
chia plot
Golang
chia plot
Submitted by
temple
-
3 years ago
0
Quiz Feed – Pages Only
PCRE (PHP <7.3)
The new quiz feed pages and its sub-feeds. i.e. /quizzes/foo
Submitted by
anonymous
-
3 years ago
-2
Quizzes Feedpager – XML
PCRE (PHP <7.3)
Matches the XML pages of the /quizzes routes for feedpager
Submitted by
anonymous
-
3 years ago
0
get arrays from Json
PCRE (PHP <7.3)
get arrays from Json
Submitted by
fawaz
-
3 years ago
0
Italian phone number regex
PCRE (PHP <7.3)
Italian phone number reg
Submitted by
Ali Babayev
-
3 years ago
0
Danish CPR number validation
PCRE (PHP <7.3)
CPR number is presented with or without a dash
Submitted by
anonymous
-
3 years ago
1
...
9
10
11
12
13
...
471
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