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 13,020 community submitted regex patterns...
1
replace test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Group and split string between pipe delimiters
ECMAScript (JavaScript)
Please help! This is probably a very simple task for regex experts. I want to extract and group the fields before or after each pipe character |. 1234|text1|text2|text3|text4|text5 Expected result would be separate groups e.g.: 1234...
Submitted by
Grateful or dead
-
9 years ago
1
ZLNLB
PCRE (PHP <7.3)
Zero length negative lookbehind
Submitted by
anonymous
-
9 years ago
0
sms csv (sqlite exported) replace newlines with \n in body
PCRE (PHP <7.3)
no description available
Submitted by
flash_us
-
9 years ago
-3
Detect a numeric string
ECMAScript (JavaScript)
no description available
Submitted by
Ankur Chauhan
-
9 years ago
1
Spanish NIE / NIF Validator
ECMAScript (JavaScript)
no description available
Submitted by
Gauravity
-
9 years ago
0
reference
PCRE (PHP <7.3)
no description available
Submitted by
karthikeyan
-
9 years ago
2
Extract Metadata
PCRE (PHP <7.3)
no description available
Submitted by
kai_desu
-
9 years ago
2
#Set-Cookie:\\s+(?<cookie>[^=]+=[^;]+)#m regex explanation
PCRE (PHP <7.3)
no description available
Submitted by
Igor
-
9 years ago
1
Ham radio callsign
PCRE (PHP <7.3)
Use part 1, 3 , 5 for establish the portable callsign like 1 = DL/ 2 = F5UII 3 = /QRP
Submitted by
F5UII (http://www.fuii.net)
-
9 years ago
1
reference
PCRE (PHP <7.3)
reference pattern checking
Submitted by
karthikeyan
-
9 years ago
-2
regex demo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
tr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
UUID regex
PCRE (PHP <7.3)
no description available
Submitted by
santisaez
-
9 years ago
3
TEST
ECMAScript (JavaScript)
negation
Submitted by
anonymous
-
9 years ago
0
Fetch file information using File URL.
PCRE (PHP <7.3)
Get information from File URL such as, Extension. Parent folder name. Drive name. File name.
Submitted by
-Harshal.Ahire (ahireharshal@gmail.com)
-
9 years ago
2
Route Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
VNC-58
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Phone Number Validation
PCRE (PHP <7.3)
Only Numbers Allowed, Optional (+) for international numbers Min: 10 Max: 14 Optional: +
Submitted by
Menon Kalipurayath (MenonOn.Net)
-
9 years ago
1
My test
PCRE (PHP <7.3)
My test
Submitted by
Mike
-
9 years ago
1
...
617
618
619
620
621
...
651
URL regexp
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago