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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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,820 community submitted regex patterns...
1
URL Parameters & Values
ECMAScript (JavaScript)
Returns matches of parameter and value separately from a URL. Ignores anything after a #.
Submitted by
Ross Tracy
-
9 years ago
1
Funy error
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Get the city name from combined zip code and city input
ECMAScript (JavaScript)
Suitable for countries with a combination of
Submitted by
Nils
-
9 years ago
-1
Extract the city from zip code and city input
ECMAScript (JavaScript)
no description available
Submitted by
Nils Butenschön
-
9 years ago
1
Word separator
ECMAScript (JavaScript)
This regexp can be used to separate words in common text.
Submitted by
Rafael Salazar
-
9 years ago
4
Mobile phone russia
ECMAScript (JavaScript)
Submitted by
Johhny
-
9 years ago
0
parse author from html
ECMAScript (JavaScript)
no description available
Submitted by
imilov
-
9 years ago
0
author from tag
ECMAScript (JavaScript)
no description available
Submitted by
imilov
-
9 years ago
1
n.x
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
find revenue
ECMAScript (JavaScript)
$12.34
Submitted by
anonymous
-
9 years ago
1
s
ECMAScript (JavaScript)
s
Submitted by
s
-
9 years ago
1
data-repeat
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
URL that allows IP
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
number of spaces at beginning of lines
ECMAScript (JavaScript)
find the number of spaces at the beginning of lines in a file.
Submitted by
andy
-
9 years ago
1
Match slahses and numbers
ECMAScript (JavaScript)
Match all forward and backward slashes and numbers in a string. Usefull for obtaining only text chars from address.
Submitted by
Rado
-
9 years ago
0
Phone number
ECMAScript (JavaScript)
no description available
Submitted by
Vaseker
-
9 years ago
0
lookahead not match 'aa'
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Amazon.ca Order Total
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Extract values from hostname
ECMAScript (JavaScript)
no description available
Submitted by
Matthew Ledbetter
-
9 years ago
0
Parse out a URL for optional values
ECMAScript (JavaScript)
Tokenize a HostName for optional string values. Good for testing whether you are in np, qa, qp, or production environments.
Submitted by
Matthew Ledbetter
-
9 years ago
1
...
162
163
164
165
166
...
191
ISO 8601 Duration Validator
1
Regular Expression
ECMAScript (JavaScript)
/
^
P
(
(
[
0
-
9
]
+
Y
)?
(
[
0
-
9
]
+
M
)?
(
[
0
-
9
]
+
W
)?
(
[
0
-
9
]
+
D
)?
(
T
(
[
0
-
9
]
+
H
)?
(
[
0
-
9
]
+
M
)?
(
[
0
-
9
]
+
(
\.
?
[
0
-
9
]
+
)?
S
)?
)
)?
$
/
Open regex in editor
Description
Validates format of ISO-8601 duration.
Submitted by
ed0wolf
-
9 years ago