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 3,860 community submitted regex patterns...
0
check the URL
ECMAScript (JavaScript)
Submitted by
anonymous
-
7 years ago
0
验证邮箱
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
youtube iframe embed code src video id and params
ECMAScript (JavaScript)
Matches full src url and individual video id and params in a YouTube iframe embed tag.
Submitted by
Robert Klein Kromhof
-
6 years ago
0
Replace multi 's
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Validazione numero patente italiana
ECMAScript (JavaScript)
no description available
Submitted by
Dario Cancelliere
-
6 years ago
0
Match decimal number (integer, floating-point, scientific)
ECMAScript (JavaScript)
Should be able to match a dot-separated decimal number (C-style) Works with: integers floating-point scientific notation
Submitted by
anonymous
-
6 years ago
0
CSS nth child expressions
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Match CNSTANT_CASE with underscores
ECMAScript (JavaScript)
Matches only ABC_DEF, not: ABC__DEF _ABC_DEF __ABC_DEF ABC_DEF_ ABC_DEF__...
Submitted by
David Enke <david.enke@zalari.de>
-
6 years ago
0
Include Anything but (string)
ECMAScript (JavaScript)
This RegEx uses a lookahead to say that anything BUT (string) will be valid
Submitted by
anonymous
-
6 years ago
0
Uptime command splitting to monitor average load
ECMAScript (JavaScript)
This is default regular expression used at Trafikito.com to split the output of a command into columns. Trafikito monitors Linux CPU, RAM and disk space or the output of any command. Then sends emails or makes API calls in the event that something goes wrong. Monitor your Linux machine for free a...
Submitted by
Trafikito.com
-
6 years ago
0
CIRRIS Occurrence Number
ECMAScript (JavaScript)
CIRRIS Occurrence Number Validator RegEx
Submitted by
Anthony
-
6 years ago
0
Extract all emails from a document.
ECMAScript (JavaScript)
The following regex will extract email addresses from a document. Sample: This is the email: m23oeo_doc@gmail.com and this is john.doe@outlook.com also can use "," master1@yahoo.com, master2@yahoo.es etc. micro.so@aol.com.
Submitted by
anonymous
-
6 years ago
0
remove video sizes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
4x4 matrix
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
xml tag pair detector (no attributes)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Mainland China Mobile Phone Numbers
ECMAScript (JavaScript)
Matches all assigned mobile phone number blocks in Mainland China. Including CMCC, CHN-UNICOM, CHN-TELECOM, and various MVNOs.
Submitted by
anonymous
-
6 years ago
0
Simplified Mainland China Mobile Phone Number
ECMAScript (JavaScript)
Simplified version for validating Mainland China Mobile Phone Numbers.
Submitted by
anonymous
-
6 years ago
0
Match time in mm:ss, or hh:mm:ss if `hh > 00`
ECMAScript (JavaScript)
Matches time strings formatted as mm:ss or hh:mm:ss under the following conditions: mm:ss**: only if mm and ss are less than 60 hh:mm:ss**: the above condition applies, but it selects hours only if hh is greater than 00
Submitted by
Liddack
-
6 years ago
0
String between URL slashes
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
subdomain catcher
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
1
...
20
21
22
23
24
...
193
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