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 2,240 community submitted regex patterns...
1
UK Postcode checker
Python
Matches more thoroughly than others in the library. Based on http://stackoverflow.com/questions/164979/uk-postcode-regex-comprehensive. Matches: W1A 1AA, WC2H 7LT, SE50EG
Submitted by
spookypeanut
-
9 years ago
1
Smoke Detector Regex
Python
Parses Smokey messages
Submitted by
Eyeballcode
-
9 years ago
1
BNF for specific URL schemes (httpurl) from rfc1738
Python
This regex represents the httpurl in BNF from rfc1738 (at topic 5). Reference:https://www.ietf.org/rfc/rfc1738.txt
Submitted by
Migueh
-
9 years ago
1
localhost ip's with port
Python
Matches localhost ip range with optional port capture: 127.X.X.X or 127.X.X.X:PORT ToDo: check valid ip address.
Submitted by
Rodrigo M. A.
-
9 years ago
1
Look Forward
Python
Between two strings.
Submitted by
Online Cop
-
9 years ago
1
Simple global regex
Python
Regex for finding tempratures in a text
Submitted by
anonymous
-
9 years ago
1
Currency Detector Python
Python
Currency Detector for Python
Submitted by
Joao Graca
-
9 years ago
1
Match parenthesis
Python
Matches anything wrapped in parenthesis. Can handle nested and consecutive sets of parenthesis.
Submitted by
Nic Roland
-
9 years ago
1
logical operators
Python
no description available
Submitted by
Nicolas
-
9 years ago
1
ofsream open file C++
Python
match of.open("test.txt");
Submitted by
Денис суховерхов
-
9 years ago
1
MAC address capturing
Python
Captures MAC addressess in any format: aa bb cc dd ee ff aa-bb-cc-dd-ee-ff aa:bb:cc:dd:ee:ff aabb.ccdd.eeff aabbccddeeff
Submitted by
Gilian
-
9 years ago
1
Tag Text
Python
Match text between html tags
Submitted by
Si
-
9 years ago
1
Find multiline links a HTML tag
Python
Find multiline links a HTML tag
Submitted by
CyberLight
-
9 years ago
1
regular expression to match word starting with space
Python
no description available
Submitted by
anonymous
-
9 years ago
1
Replace Czech accents, Part 1
Python
The result of this put as input into part 2.
Submitted by
Premysl Karbula
-
9 years ago
1
url
Python
no description available
Submitted by
oniro
-
9 years ago
1
html image tags
Python
no description available
Submitted by
Thien Ho
-
9 years ago
-1
woop
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Find email address in a string.
Python
no description available
Submitted by
anonymous
-
11 years ago
1
Strip ANSI escape characters
Python
no description available
Submitted by
anonymous
-
11 years ago
1
...
104
105
106
107
108
...
112
Community Library Entry
0
Regular Expression
Python
r"
(?P<nom>
^
[
\w\d
]
?
)
\/
(?P<latfield>
(?P<latflag>
[
NS
]
)
(?P<latval>
\d
{1,2}
d
[
0
-
5
]
\d
?
(
\.
\d
*
)?
)
)
\/
(?P<lonfield>
(?P<lonflag>
[
EW
]
)
(?P<lonval>
[
01
]
?
\d
{1,2}
d
[
0
-
5
]
\d
?
(
\.
\d
*
)?
)
$
)
"
s
Open regex in editor
Description
Text fields describing a name and positions
Submitted by
bruno.piguet@meteo.fr
-
11 years ago