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
Remove litteral \n
Python
This regex remove \n like litteral string not a newline
Submitted by
Nkio
-
10 years ago
0
split on dollar sign
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
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
filename split
ECMAScript (JavaScript)
Splitting file names
Submitted by
Miloš Ratković
-
10 years ago
0
Number matching RE
ECMAScript (JavaScript)
Optional plus or minus sign. Leading zero required for decimal number less than zero.
Submitted by
Mario Diana
-
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
phone matcher
PCRE (PHP <7.3)
phone matcher for following formats (123).234.4567 (123)-234-4567 (617) 495-1797 (617) 495 1797 (617) 4951797...
Submitted by
anonymous
-
10 years ago
0
first word plus string
PCRE (PHP <7.3)
first word and resulting string
Submitted by
anonymous
-
10 years ago
0
html text grep
PCRE (PHP <7.3)
no description available
Submitted by
Cyrbil
-
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
Parse JSON key value pair
PCRE (PHP <7.3)
no description available
Submitted by
Kostas Trichas
-
10 years ago
1
...
21
22
23
24
25
...
902
Community Library Entry
-1
Regular Expression
PCRE2 (PHP >=7.3)
/
__
\(
(
.
*
?
)
\)
|
{
+
(
.
*
?
)
}
+
/
gmi
Open regex in editor
Description
extract strings between {…} or __(…)
Submitted by
ced404
-
a year ago