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,040 community submitted regex patterns...
0
congratulation
PCRE (PHP <7.3)
very nice helper
Submitted by
fred
-
10 years ago
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
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
10 years ago
(Last modified a year 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
1
...
537
538
539
540
541
...
902
Community Library Entry
0
Regular Expression
Python
r"
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
[
A
-
Z
]
{2}
)
\s
{2,}
(
[
A
-
Z
]
{2,}
)
\s
{2,}
(
\d
+
\s
+
[
A
-
Za
-
z
]
+
\s
*
\d
+
)
\s
{2,}
(
\d
+
\s
+
[
A
-
Za
-
z
]
+
\s
*
\d
+
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
.
+
?
)
\s
{2,}
(
-
?
\d
+
.\d
+
)
\s
{2,}
(
-
?
\d
+
.\d
+
)
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
10 years ago