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 14,740 community submitted regex patterns...
0
Stackoverflow
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
1
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Find color
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
URLs
PCRE (PHP <7.3)
split URL in 2 parts
Submitted by
A.L
-
10 years ago
0
BB quote extractor
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
xD
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
get youtube vid ID
Python
match #2
Submitted by
parzivail
-
10 years ago
0
Four e/E's no p's
PCRE (PHP <7.3)
no description available
Submitted by
CommuSoft
-
10 years ago
0
Cakephp smarty translation extract
Python
Extracting all {__("content")} from cakephp .tpl files
Submitted by
Yuks
-
10 years ago
0
Cfmail replace
PCRE (PHP <7.3)
Replace cfmail with cfsets
Submitted by
Akan
-
10 years ago
0
only pixel set font-size
PCRE (PHP <7.3)
no description available
Submitted by
amaroyche
-
10 years ago
0
UUID regex
PCRE (PHP <7.3)
no description available
Submitted by
santisaez
-
10 years ago
0
reference
PCRE (PHP <7.3)
no description available
Submitted by
karthikeyan
-
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
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
0
RegexMatchingAtLeast2SpecialCharacters
PCRE (PHP <7.3)
The special characters are ~!@#$%^&*()
Submitted by
anonymous
-
10 years ago
0
Match youtube id
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Arabic example
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
replace &ldquo with doublequotes
PCRE (PHP <7.3)
replace tag with doublequotes regex
Submitted by
anonymous
-
10 years ago
0
Jeny
PCRE (PHP <7.3)
132
Submitted by
Renderlife
-
10 years ago
1
...
280
281
282
283
284
...
737
Community Library Entry
15
Regular Expression
ECMAScript (JavaScript)
/
(
^
[
0
-
9
]
{4}
?
[
0
-
9
]
$
|
^
[
0
-
9
]
{4}
?
[
0
-
9
]
-
[
0
-
9
]
{4}
$
)
/
gm
Open regex in editor
Description
no description available
Submitted by
jay johnson
-
11 years ago