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 18,000 community submitted regex patterns...
0
pin code in 400 064 format
PCRE (PHP <7.3)
pin code in 400 064 format
Submitted by
anonymous
-
5 years ago
0
Negative lookahead
Python
no description available
Submitted by
anonymous
-
5 years ago
0
1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
11
PCRE (PHP <7.3)
111
Submitted by
anonymous
-
5 years ago
0
Parse Ja or Nei with positive lookahead
PCRE (PHP <7.3)
Parse a Ja or Nei answer from a prompted response
Submitted by
anonymous
-
5 years ago
0
Strip tags problem
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Strip left leading and right ending sections
PCRE (PHP <7.3)
stripping left section up to colon stripping right section from starting on slash
Submitted by
anonymous
-
5 years ago
0
nginx map example1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Array to stdClass
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
select everything in brackets
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
mach url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
another test on bpa
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
test with \w
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
final-version
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
CPU
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
Amundi Épargne Salariale
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
5 years ago
0
Indonesia Phone Number
ECMAScript (JavaScript)
Remove the country code or zero leading for Indonesia phone number This regex only read numeric, didn't include any symbol like '+'
Submitted by
Blackjack100
-
5 years ago
0
Toutes les chaînes qqueChoseDao. sauf la chaîne acteMedicalDao
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Stripping all but a list of several prefixes
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
297
298
299
300
301
...
900
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(
https
?
:
\/\/
)
(
(?:
[
-a
-
zA
-
Z0
-
9@:%._+~#=
]
+
)
\.
)?
(
[
-a
-
zA
-
Z0
-
9@:%._+~#=
]
{2,256}
\.
[
a
-
z
]
{2,6}
\b
|
localhost
(?:
\:
\d
{1,5}
)?
)
(
\/
[
\w
.-
]
*
)*
(
\?
[
\w
\-
._~!*'(),%=&+
]
*
)?
(
$
|
\#
.
*
|
\?
.
*
)?
/
gm
Open regex in editor
Description
Match a URL and capture its parts. Please suggest your improvements.
Submitted by
Lamer217
-
9 months ago