Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 17,420 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-22 10:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL taking
PCRE (PHP <7.3)
Did in pkasko)
Submitted by
anonymous
-
5 years ago
2019-02-22 12:32
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Deacom Version Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-22 14:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
select between quotes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-22 15:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Redirect: /item/yyy-name-and-name
PCRE (PHP <7.3)
[+(.+)\/[3-9]\d\d\-
Submitted by
anonymous
-
5 years ago
2019-02-23 18:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
replace double space
PCRE (PHP <7.3)
string = string.replace(/ +/g," "); for just spaces OR string = string.replace(/(\s)+/g,"$1"); for turning multiple returns into a single return also.
Submitted by
anonymous
-
5 years ago
2019-02-24 06:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Get the first 2 terms in path using forward slash.
PCRE (PHP <7.3)
At first the objective was to get the string between the first and third slash but, re-working the problem, it was simpler to retrieve the first word between slashes and a subsequent word.
Submitted by
anonymous
-
5 years ago
2019-03-04 16:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Number plate Finder
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-25 10:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
agent phone
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-25 14:20
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Teardown v2
PCRE (PHP <7.3)
Adds in teardown of the client id, environment, and domain
Submitted by
anonymous
-
5 years ago
2019-02-25 15:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL Teardown v3
PCRE (PHP <7.3)
Adds in teardown of the client id, environment, and domain
Submitted by
anonymous
-
5 years ago
2019-02-25 15:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DNZ Zone Dump Teardown v1
PCRE (PHP <7.3)
Adds in teardown of the client id, environment, and domain
Submitted by
anonymous
-
5 years ago
2019-02-25 16:18
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
update
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-25 17:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
golang
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-25 17:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DNS Zone Teardown v2
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-25 17:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MarkDown italic style parser
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-25 23:23
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
mail con subdominio
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-26 09:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
comma Split numbers
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-26 11:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
kiamoz
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-26 13:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
kiamoz
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
2019-02-26 13:02
1
...
729
730
731
732
733
734
735
...
871
ISO-8601 date parse
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
(
\d
{4}
|
\+
\d
{6}
)
(?:
-
(
\d
{2}
)
(?:
-
(
\d
{2}
)
(?:
T
(
\d
{2}
)
:
(
\d
{2}
)
:
(
\d
{2}
)
(?:
\.
{0,1}
)
(
\d
{0,}
)
(
Z
|
(
[
\-
+
]
)
(
\d
{2}
)
(?:
:
{0,1}
)
(
\d
{2}
))?
)?
)?
)?
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
Norbi
-
4 years ago
2020-02-01 08:47