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
Highest Score
Lowest Score
Most upvotes
Most downvotes
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 13,880 community submitted regex patterns...
1
YOLO
PCRE (PHP <7.3)
Substitutes "you only live once" with "YOLO".
Submitted by
anonymous
-
10 years ago
-2
Maintain portion in the middle
PCRE (PHP <7.3)
no description available
Submitted by
HMK
-
10 years ago
-2
Password filter
PCRE (PHP <7.3)
a regular expression validate the passowrd. The criteria is that the password should contain atleast one upper case and one lower case letter.
Submitted by
HMK
-
10 years ago
1
Regex Formula for matching 2 letter Prefix URL's
PCRE (PHP <7.3)
I am trying to write a Regex formula that will match to all URL's with specifically 2 letter prefixes. I have a list of close to 1000 websites, and I need a formula that will collect data from any sites that start with "..".sporttu.com. For example, I want it to match to sites like ca.sporttu and m...
Submitted by
MikeRo
-
10 years ago
1
quotes and escapes
PCRE (PHP <7.3)
no description available
Submitted by
zgorawski
-
10 years ago
2
Creditcard expiry date checker
PCRE (PHP <7.3)
Checks if a expiry date is: mm/yy. You still have to check if it is a valid expiry date timewise.
Submitted by
Pevawi
-
10 years ago
1
regular expression - with space
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
regular expression to avoid white spaces
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
test url
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
1
PCRE (PHP <7.3)
23123
Submitted by
anonymous
-
10 years ago
2
Match subset
PCRE (PHP <7.3)
no description available
Submitted by
Jason
-
10 years ago
-2
example
Python
match
Submitted by
anonymous
-
10 years ago
-2
RegEx within tags
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
-3
Match substitutions
Python
Match regular expressions substitutions, I personally use this to perform my validate if it is a substitution, then call re.sub() on it.
Submitted by
Zarthus
-
10 years ago
1
Replace Commas Inside Quotes
PCRE (PHP <7.3)
Regex to remove commas within quotes. (Common situtaion in .csv files) Eg: data,"some ""embedded"" stuff,commas,inside,quotes",more Replace String would be something like this:...
Submitted by
Judd
-
10 years ago
-2
Version in Cordova config.xml
PCRE (PHP <7.3)
no description available
Submitted by
procek
-
10 years ago
0
match text between two <br/> tags.
PCRE (PHP <7.3)
no description available
Submitted by
gordie
-
10 years ago
1
this
Python
stinks
Submitted by
anonymous
-
10 years ago
1
Captures entire log line that meet the criteria
Python
If you need to grab an entire log line based on criteria (error,warning,notice,info,debug), use this Regexp and change the parameters accordingly.
Submitted by
Neill Lima
-
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
1
...
679
680
681
682
683
...
694
torstatus.blutmagie.de list parser
1
Regular Expression
Python
r"
<tr
class='
(
.
)
'><td
class='TR
(
.
)
'><a
href='http://www
\.
openstreetmap
\.
org
\/\?
mlon=
(
[
-
\d
\.
]
+
)
&mlat=
(
[
-
\d
\.
]
+
)
&zoom=
\d
+
'
target='_blank'><img
src='img
\/
flags
\/
(
\w
+
)
\.
gif'
class='flag'
width='
\d
+
px'
title='
(
.
+
)
'
alt='
\w
+
'
border='0'><
\/
a> <a
href='router_detail
\.
php
\?
FP=
(
[
a
-
zA
-
Z0
-
9
]
+
)
'
target='_blank'>
(
[^
\<
]
+
)
<
\/
a><
\/
td><td
class='TDb'><table
cellspacing='0'
cellpadding='0'
class='bwb'><tr
title='
(
[^
'
]
+
)
'><td
class='bwr
.
?
'><img
src='img/bar/
\d
+
.
png'
width='
\d
+
px'
height='15px'
alt='
\d
+
'></td><td> <small>
\d
+
</small></td></tr></table></td><td
class='TDc
.
?
'>
(
[^
<
]
+
)
</td><td
class='TDS'><table
class='iT'><tr><td
class='iT'>
(
[^
\[
]
+
)
\[
<a
class='who'
href='/cgi
\-
bin/whois
.
pl
\?
ip=
[
\d
\.
]
+
'
target='_blank'>
(
[
\d
\.
]
+
)
</a>
\]
</td>
(
<td><img
src='img/status/Fast
.
png'
title='Fast
Server'
alt='Fast
Server'></td>
)?
(
<td><img
src='img/status/Exit
.
png'
title='Exit
Server'
alt='Exit
Server'></td>
)?
(
<td><img
src='img/status/Dir
.
png'
title='Directory
Server'
alt='Directory
Server'></td>
)?
(
<td><img
src='img/status/Guard
.
png'
title='Guard
Server'
alt='Guard
Server'></td>
)?
(
<td><img
src='img/status/Stable
.
png'
title='Stable
Server'
alt='Stable
Server'></td>
)?
(
<td><img
src='img/status/Authority
.
png'
title='Authority
Server'
alt='Authority
Server'/></td>
)?
<td><img
src='
[^
'
]
+
'
title='
(
[^
'
]
+
)
'
alt='
[^
'
]
+
'></td>
(
<td><img
src='
[^
'
]
+
'
title='
(
[^
'
]
*
)
'
alt='
[^
'
]
*
'></td>
)?
</tr></table></td><td
class='TDc'>
(
<b>
)?
(
\d
*
)
(
</b>
)?
</td><td
class='TDc'>
(
<b>
)?
(
[
None
\d
]
*
)
(
</b>
)?
</td><td
class='
(
F
\d
)
'></td></tr>
"
g
Open regex in editor
Description
parse most column for tor exit nodes.
Submitted by
bandoche
-
10 years ago