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,540 community submitted regex patterns...
0
UK generic tel no
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
us
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
UK Landline Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Mermaid parse field text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Include homepage URL and UTMs but exclude all other pages
PCRE (PHP <7.3)
Useful for GTM if you want to set up a trigger that only fires on homepage (or to use the ReGex does not Equal option to exclude the homepage..) The key thing is this will also include UTM params.
Submitted by
anonymous
-
5 years ago
0
Words in greek
PCRE (PHP <7.3)
Simples expression to match any words in Greek or Ancient Greek.
Submitted by
anonymous
-
5 years ago
0
lkker-cos
Golang
no description available
Submitted by
anonymous
-
5 years ago
0
Github dark theme regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
daily caller
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Fox news opinion
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Match string between brackets with two groups
PCRE (PHP <7.3)
Matches all alphanumeric (\w), underscore and dash (\-) that is included in square brackets ([]). The result gives two groups that can be used with $1 and $2.
Submitted by
anonymous
-
5 years ago
0
FB payload
Golang
no description available
Submitted by
anonymous
-
5 years ago
0
kube-system:omsagent
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
-1
Debit Cards
PCRE (PHP <7.3)
checks for BIN and then 10 digits after.
Submitted by
anonymous
-
5 years ago
0
Alle erlaubten Zeichen und Dateiendungen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
customer:document-templates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
-1
kube-system:sealed-secrets-controller
PCRE (PHP <7.3)
timestamp extraction for k8s:kube-system:sealed-secrets-controller logs
Submitted by
anonymous
-
5 years ago
0
kube-system:tunnel-front
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
homestate: Transition
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
match word without dash
PCRE (PHP <7.3)
the whole word and nothing but the word
Submitted by
anonymous
-
5 years ago
1
...
112
113
114
115
116
...
477
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