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
Bad comma puctuation
ECMAScript (JavaScript)
Just an example for a guy wanting to check space before comma
Submitted by
anonymous
-
10 years ago
0
Find all list items
PCRE (PHP <7.3)
I need to find the fastest expression to get all the list items inside a an put the items inside an array. input: ...
Submitted by
Sonny
-
10 years ago
0
Primjer regexa koji je potreban u jednom dijelu našeg sitea
PCRE (PHP <7.3)
Ovo je regex (regular expression - regularni izraz) koji parsira i usput validira broj naÅ¡eg predraÄuna.
Submitted by
Goran
-
10 years ago
0
match text between two <br/> tags.
PCRE (PHP <7.3)
no description available
Submitted by
gordie
-
10 years ago
0
Solved:Retrieve Value from JSON /(?<="signature":")[^"]+
PCRE (PHP <7.3)
I posted in Stackoverflow asking for help in regexp to retrieve value from a JSON response: {"payload":"eyJjaGFsbGVuZ2UiOiIwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAwMDAiLCJtaW5pbXVtTW9iaWxlVmVyc2lvbiI6MSwibm9uY2UiOiJPQ1dwdjkzSzRMSCtQM0...
Submitted by
Pratap Venkatesan
-
10 years ago
0
too greedy +
PCRE (PHP <7.3)
I would like to make that pattern match word char followed by plus folowed by few word chars and followed by another word char and plus. Both word chars followed by plus have to be optional. The problem is that + in middle part takes as much chars as it can and last part never matches (for example s...
Submitted by
Nel
-
10 years ago
0
Searching for bracketed fields and optional parameters
ECMAScript (JavaScript)
This is a quick test of how to add optional identifiers to a fieldname search in REDCap
Submitted by
Andy Martin
-
10 years ago
0
seasons
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Can't figure out how to split this
Python
I need to group each "lease" on its own and I must be missing something :(
Submitted by
cereal
-
10 years ago
0
first word plus string
PCRE (PHP <7.3)
first word and resulting string
Submitted by
anonymous
-
10 years ago
0
dpn_glossary HTML termparser
PCRE (PHP <7.3)
Regex of the TYPO3 Extension dpn_glossary. It ignores the children of the fetched content. http://bit.ly/dpn_glossary
Submitted by
Daniel Dorndorf
-
10 years ago
0
Match all attributes/values of html document
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
url GET parameters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
Single dollar delimited LaTeX equation
Python
Find single dollar delimited LaTeX equations, for use with e.g. KateX
Submitted by
drewsberry
-
10 years ago
0
phone number (simple validate)
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
0
Challenge: Create regular expression that matches the following urls
PCRE (PHP <7.3)
Note the 2 lines separated urls. These should NOT match
Submitted by
kostas trichas
-
10 years ago
0
Share?
PCRE (PHP <7.3)
Test
Submitted by
test
-
10 years ago
0
webongo
PCRE (PHP <7.3)
webongo test
Submitted by
webongo
-
10 years ago
0
DOI matcher
Python
Matches any valid DOI
Submitted by
jpowell
-
10 years ago
0
search h1 tag html
PCRE (PHP <7.3)
(.*?) example: Your best title
Submitted by
otharwa
-
10 years ago
1
...
535
536
537
538
539
...
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