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,000 community submitted regex patterns...
4
Get stuff inside <a> tags
PCRE (PHP <7.3)
Get stuff inside tags, which are between certain words
Submitted by
Jerry
-
11 years ago
4
Capturing items from multiple lists using a single regex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
4
Complete imgur link regex
Python
This regex grabs all kinds of imgur links and groups them in meaningful names aswell. This way you have full flow-control in your python-scripts.
Submitted by
Mio
-
10 years ago
4
Full e-mail validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
4
Mask credit card
PCRE (PHP <7.3)
no description available
Submitted by
Albert Paris
-
9 years ago
4
utf-8 hex.
PCRE (PHP <7.3)
utf-8 hex. code armenian. Firs character regexp
Submitted by
Dyxx
-
10 years ago
3
Extract asp label
ECMAScript (JavaScript)
I am trying to extract the asp:label syntax using Regex but I am getting some error can some one help me
Submitted by
anonymous
-
11 years ago
3
Outside Quotes
ECMAScript (JavaScript)
match any string outside of single or double quotes
Submitted by
anonymous
-
11 years ago
3
xferlog parser (proftpd, ftpd, vsftpd, etc..)
PCRE (PHP <7.3)
This pulls out all the fields from a standard xferlog format log. Format specified here http://www.castaglia.org/proftpd/doc/xferlog.html
Submitted by
Robin Kearney
-
10 years ago
3
UUID
PCRE (PHP <7.3)
no description available
Submitted by
Jason
-
10 years ago
3
Finds dates lacking period before month (Norwegian)
PCRE (PHP <7.3)
no description available
Submitted by
EB
-
10 years ago
3
Get URL parameters
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
3
TEST
ECMAScript (JavaScript)
negation
Submitted by
anonymous
-
10 years ago
3
Alternative Capture Country Codes
PCRE (PHP <7.3)
no description available
Submitted by
Branden
-
10 years ago
3
How do I write a Regex to inspect Cisco Interfaces
PCRE (PHP <7.3)
I am asking for help in writing a regular expression to shorten this expression. I need the string below to search every interface within the range of 1 -24 to validate the configuration. If one interface does not have the required configuration then the expression fails. interface GigabitEtherne...
Submitted by
Pirates
-
10 years ago
3
Test a string against CamelCase
ECMAScript (JavaScript)
See if a string is in CamelCase format
Submitted by
Tonny Xu
-
10 years ago
3
images url match in text
PCRE (PHP <7.3)
no description available
Submitted by
Redfern.89
-
9 years ago
3
prices in nis
Python
no description available
Submitted by
molaxx
-
9 years ago
3
Div content
PCRE (PHP <7.3)
no description available
Submitted by
mohammadsaleh
-
9 years ago
3
HH:MM:SS
ECMAScript (JavaScript)
Validates 00:00:00 to 23:59:59
Submitted by
anonymous
-
9 years ago
1
...
15
16
17
18
19
...
900
Community Library Entry
1
Regular Expression
Python
r"
<a
.
*
\s
href=
[
\"\'
]
(?:
(?:
\w
+
)
://
)*
(
(?:
[
\w
-
]
+
\.
)+
(?:
[
\w
-
]
+
)
)
(?:
:
\d
+
)?
(?:
/
|
$
)?
(?:
[^
\s
]
+
)?
[
\"\'
]
.
*
>
"
Open regex in editor
Description
no description available
Submitted by
anonymous
-
8 years ago