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
\$\s?(\d+[\.\s,\dk]+)|(\d+[\.\s,\dk]+)\$
PCRE (PHP <7.3)
Matches a text that has all those prices below. Doesn't take the $ sign. "Im asking $15,500 OBO Im asking 15,400$ Im asking 15400$ Im asking $15400 Im asking 15 400$...
Submitted by
chocksy
-
11 years ago
0
Words that start with...
Python
no description available
Submitted by
anonymous
-
11 years ago
0
almost any similar word
Python
no description available
Submitted by
anonymous
-
11 years ago
0
Leaflet tag ID matcher
PCRE (PHP <7.3)
Regex (to be) used to identify ID of the tag that loaded Leaflet (or Mapbox).
Submitted by
cebence
-
11 years ago
0
how I retrieve the domain without www or other cruft
Python
no description available
Submitted by
bronsen
-
11 years ago
0
City and state validation
PCRE (PHP <7.3)
Validation when city and state are like in format city, state
Submitted by
Adu
-
11 years ago
0
x
PCRE (PHP <7.3)
x
Submitted by
x
-
11 years ago
0
Matching values between square brackets
PCRE (PHP <7.3)
no description available
Submitted by
Marius Schulz
-
11 years ago
0
Date Validator Regular Expression
PCRE (PHP <7.3)
Perfect Date validator from 1900-01-01 to 2013-12-31, all with leap years and perfect dates.
Submitted by
Punit Pal
-
11 years ago
0
Fix Spanish Quote Marks
Python
Adds a ¿, for ¡ replace the last ? for !
Submitted by
paconaranjo
-
11 years ago
0
google result li item
PCRE (PHP <7.3)
Trying to output http://www.fs.usda.gov/malheur or thereabouts
Submitted by
ape
-
10 years ago
0
Removes comments from css files
PCRE (PHP <7.3)
This regexp removes comments from css (text/css) files (multiline)
Submitted by
Ray (alrays@yandex.ru)
-
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
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
1
...
333
334
335
336
337
...
902
Community Library Entry
0
Regular Expression
Python
r"
\/
[
\w
]
+
\s
?
\/
\s
?
\d
{8}
-
[
\D\d
]
*
\/\?
?
[
\D\d
]
*
=
\d
*
"
gm
Open regex in editor
Description
no description available
Submitted by
anonymous
-
5 years ago