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 17,600 community submitted regex patterns...
1
phanindra.vaga.ranama
Python
sdf
Submitted by
asdf
-
9 years ago
1
Update of Ivory Coast Mobile phone test
PCRE (PHP <7.3)
With the new numbers such as 78 79 the regex is now updated!
Submitted by
Alain ZIO
-
9 years ago
1
Non-parentheses characters, but allow escaped parentheses.
ECMAScript (JavaScript)
Trying to discover how to select all ranges except non-escaped parentheses.
Submitted by
anonymous
-
9 years ago
1
StackOverflow 30430783
Python
no description available
Submitted by
Honza Osobne
-
9 years ago
1
Проверка валидности номера телефона в разных форматов в +7
PCRE (PHP <7.3)
no description available
Submitted by
redfern.89
-
9 years ago
1
russian phone number hard validation (multiformat)
PCRE (PHP <7.3)
Supported formats (mobile): +7(xxx)xxx xxxx +7(xxx)xxxxxxx +7(xxx)xxx-xx-xx +7(xxx)xxx xx xx +7 xxx xxx xx xx...
Submitted by
Redfern.89
-
9 years ago
1
Adyen reason when AUTHORISATION success
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
yous
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Repeating Group
PCRE (PHP <7.3)
There are 2 segments within this data that start with REF* and end with a tilde (~). I can capture one of them but not both. I've read and cant seem to figure this one out. I DO need to preface with the NM1*03 piece.
Submitted by
Chris.
-
9 years ago
1
decimal or not number
PCRE (PHP <7.3)
acepts 1.000 and 1000
Submitted by
jvs
-
9 years ago
1
Parsing the response of an oauth provider for token and session
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
dropping first digit (2) andy advice?
PCRE (PHP <7.3)
\_\d(.+) for _2015041122
Submitted by
jbt
-
9 years ago
1
Any telephone number with at least 6 digits
PCRE (PHP <7.3)
Telephone number can come with extra characters to denote country, region, etc
Submitted by
https://co.linkedin.com/in/andresfelipecardona
-
9 years ago
1
URL with ASP Cookieless SessionId
PCRE (PHP <7.3)
This matches a ASP Cookieless SessionId. Useful if, for example, after deprecating Cookieless sessions you want to redirect any clients with a cached sessionId to the plain url.
Submitted by
Zumey
-
9 years ago
1
Find all BR tags in a string
ECMAScript (JavaScript)
Find all BR tags in a string
Submitted by
Mahima
-
9 years ago
1
[php] url hard match
PCRE (PHP <7.3)
preg_math_all only. ex.: http://doman.com, http://doman.com/, http://doman.com/?query=1,http://doman.com?query=1, domain.com, doman.com?query=1 and other
Submitted by
Redfern.89
-
9 years ago
1
guto
PCRE (PHP <7.3)
gutoregex
Submitted by
guto
-
9 years ago
1
Line parser (split at sentence)
PCRE (PHP <7.3)
Splits a line into three parts: completed sentences from the previous line, any complete sentences, and any uncompleted sentences.
Submitted by
E.Gu
-
9 years ago
1
list of comma separated dates in the form dd/mm/yyy
PCRE (PHP <7.3)
matches a list of comma separated dates in the form dd/mm/yyy. Between two dates must be only a comma. no other character are permitted: matches: 12/03/2011,23/19/1967 Doesn't match: 23/02/2010, 11/11/2011
Submitted by
reario
-
9 years ago
1
...
600
601
602
603
604
...
880
URL
1
Regular Expression
PCRE (PHP <7.3)
/
(
http
|
https
)
\:\/\/
(?:
(
.
+
?
)
(?:
\:
(
.
+
?
)
)?
\@
)?
(
(?:
[
\w
-
]
+
\.
)+
)
(
[
A
-
Za
-
z0
-
9
]
+
)
(?:
\:
(
\d
{2,5}
)
)?
(
(?:
\/
[
\w
-%.
]
*
)+
)?
(
\?
(?:
[
\w
-%&="'+,
]
+
)?
)?
(
\#
(?:
[^
#
]
+
)?
)?
/
Open regex in editor
Description
Gets all parts of URL including port, username, password, fragment, query, and path
Submitted by
Vihan Bhargava
-
9 years ago