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,620 community submitted regex patterns...
0
visa cvv
PCRE (PHP <7.3)
4003447582444271
Submitted by
anonymous
-
9 years ago
0
Select string in between HTML tags
PCRE (PHP <7.3)
no description available
Submitted by
Jim Sheen
-
9 years ago
0
float
PCRE (PHP <7.3)
matches floats: 1.0f 1.0F .0f .1F 1f 1F
Submitted by
Mateusz Paluch
-
9 years ago
0
Multiple lines comment in Java
PCRE (PHP <7.3)
Begin with /* accept anything inside and finish with */
Submitted by
Wesley Ramos
-
9 years ago
0
NANP Phone Number Checker
PCRE (PHP <7.3)
Checks whether a North American Numbering Plan (NANP) phone number is valid. (Matching numbers are not necessarily real.) However, it registers 299-911-9999 as OK, even though it's not valid.
Submitted by
anonymous
-
9 years ago
0
find any URI/URL with no trailing slash v2
PCRE (PHP <7.3)
updated
Submitted by
-oneglory
-
9 years ago
0
IRC protocol arguments parsing
PCRE (PHP <7.3)
select and retrieve information form IRC client to client prefix
Submitted by
Kerosene2000
-
9 years ago
0
10
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
4
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Mobile Pattern
PCRE (PHP <7.3)
Simple Mobile Pattern
Submitted by
Saeed Tabrizi
-
9 years ago
0
To find all the text in a paragraph ignoring numeric and special chare
PCRE (PHP <7.3)
no description available
Submitted by
srinath
-
9 years ago
0
select div like things
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
AAA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
extract sql table name from request
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
GROUPS
PCRE (PHP <7.3)
YEAH
Submitted by
AWESOME
-
9 years ago
0
Match everything between brackets, including brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Match everything between brackets, including brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Custom HTML placeholder matcher
PCRE (PHP <7.3)
Grab all placeholder "tags" that are alphanumeric with optional underscores. In this example my placeholders are double curly braces e.g. {{MY_VARIABLE_NAME}}. Change out the braces for whichever symbol/character you are using or add/remove more. E.g. [[MY_VARIABLE_NAME]] would be matched with \[\...
Submitted by
John Cogan
-
9 years ago
0
Layer7 Filter for HTTP
PCRE (PHP <7.3)
For use with router layer 7 filtering, will detect intial connection or initial response
Submitted by
Andrew Cox
-
9 years ago
0
4.2 numerisch mit tausender kennzeichen
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
187
188
189
190
191
...
481
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