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...
2
Array formatting (serialized)
PCRE (PHP <7.3)
Check for correctly formatted array of this type: array( array('name'=>'War and Peace', 'year'=>1865), array('name'=>'Different Seasons', 'year'=>1982), )
Submitted by
oneperfectsunrise
-
10 years ago
1
Array formating (serialized)
PCRE (PHP <7.3)
Check for correctly formatted array of this type: array('a', 'bb', 'ccccc',)
Submitted by
oneperfectsunrise
-
10 years ago
1
Array formating
PCRE (PHP <7.3)
Check for correctly formatted array of this type: array(1,2,3,)
Submitted by
oneperfectsunrise
-
10 years ago
1
tel:// and sms:// validator
PCRE (PHP <7.3)
Easly to check tel:// or sms:// protocols.
Submitted by
Erdem Arslan
-
10 years ago
1
replace test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 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
-
10 years ago
1
ZLNLB
PCRE (PHP <7.3)
Zero length negative lookbehind
Submitted by
anonymous
-
10 years ago
0
sms csv (sqlite exported) replace newlines with \n in body
PCRE (PHP <7.3)
no description available
Submitted by
flash_us
-
10 years ago
-3
Detect a numeric string
ECMAScript (JavaScript)
no description available
Submitted by
Ankur Chauhan
-
10 years ago
1
Spanish NIE / NIF Validator
ECMAScript (JavaScript)
no description available
Submitted by
Gauravity
-
10 years ago
0
reference
PCRE (PHP <7.3)
no description available
Submitted by
karthikeyan
-
10 years ago
1
domain from full url
Python
no description available
Submitted by
anonymous
-
10 years ago
2
Extract Metadata
PCRE (PHP <7.3)
no description available
Submitted by
kai_desu
-
10 years ago
2
#Set-Cookie:\\s+(?<cookie>[^=]+=[^;]+)#m regex explanation
PCRE (PHP <7.3)
no description available
Submitted by
Igor
-
10 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)
-
10 years ago
1
reference
PCRE (PHP <7.3)
reference pattern checking
Submitted by
karthikeyan
-
10 years ago
-2
regex demo
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
tr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
UUID regex
PCRE (PHP <7.3)
no description available
Submitted by
santisaez
-
10 years ago
3
TEST
ECMAScript (JavaScript)
negation
Submitted by
anonymous
-
10 years ago
1
...
863
864
865
866
867
...
900
Community Library Entry
-2
Regular Expression
Python
r"
(
(
\w
+
){5}
)
group
to
(
(
\w
+
){5}
)
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago