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
Splits jquery selector, 2nd part is selector of last element
ECMAScript (JavaScript)
no description available
Submitted by
Uzair Farooq
-
11 years ago
0
php comment
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
waypoints
Python
Text fields describing a name and positions
Submitted by
bruno.piguet@meteo.fr
-
11 years ago
0
background:url
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
11 years ago
0
background:url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
In a pipe separed list of values check for a concrete one
PCRE (PHP <7.3)
no description available
Submitted by
furbypaloma
-
11 years ago
0
salanki
PCRE (PHP <7.3)
no description available
Submitted by
salanki
-
11 years ago
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
1
...
534
535
536
537
538
...
902
Community Library Entry
0
Regular Expression
Python
r"
(?P<number>
\d
+
)
(?P<word>
\w
+
)
"
gm
Open regex in editor
Description
搜尋到的內容,區分為\g<word>, \g<number>, 代換到replace的位置 python和其他的程式,用法不同,如:$1,$2
Submitted by
anonymous
-
6 years ago