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,020 community submitted regex patterns...
0
Zen Regex
PCRE (PHP <7.3)
.
Submitted by
anonymous
-
8 years ago
0
HTTP Header - Hardcoded Routable IPv4 address with optional port
PCRE (PHP <7.3)
Matches valid internet-routable IPv4 addresses (Not RFC1918, RFC5735, RFC3927) with optional port delimited by colon. I wrote this specifically for Snort rules that look for hardcoded IPv4 addresses in the HTTP Host header field, but I imagine this may have its uses aside from that. This would hav...
Submitted by
Damian Torres
-
8 years ago
0
tmp
PCRE (PHP <7.3)
test
Submitted by
anonymous
-
8 years ago
0
Match everything between 2 strings - Including the strings and white space and new lines
ECMAScript (JavaScript)
Match everything between 2 strings - Including the strings and white space and new lines
Submitted by
anonymous
-
8 years ago
0
Log search
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
extract url from a text where URL is in the end of the string
ECMAScript (JavaScript)
extract url from a text where URL is in the end of the string
Submitted by
Kumar
-
8 years ago
0
Extract URL from a text / String
ECMAScript (JavaScript)
Extract an URL from a text / String. This one will extract multiple instances
Submitted by
Kumar Sundaram
-
8 years ago
0
Sustitución de espacios en blanco al final y al principio de una cadena.
Golang
no description available
Submitted by
anonymous
-
8 years ago
0
JS ErrorParsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
send screenshot
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
email
Python
no description available
Submitted by
anonymous
-
8 years ago
0
password
Python
no description available
Submitted by
anonymous
-
8 years ago
0
ID15
Python
no description available
Submitted by
anonymous
-
8 years ago
0
data(yyyy-mm-dd)
Python
no description available
Submitted by
anonymous
-
8 years ago
0
warscope
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
Series [Episode] - Tit;e - Author
PCRE (PHP <7.3)
Series [Episode] - Tit;e - Author
Submitted by
anonymous
-
8 years ago
0
StringUtils is blank
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Base64 Regex
PCRE (PHP <7.3)
This regex will match on Base64 strings (not hard-wrapped). It was designed to match on a string that is MOD4 with appropriate padding. Keep in mind, this is very basic. You will likely need to add before and after anchors to meet your needs.
Submitted by
Damian Torres
-
8 years ago
0
find csproj in sln
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
8 years ago
0
everything between Commars
PCRE (PHP <7.3)
Matching everything between comars
Submitted by
Shingai Munyuki
-
8 years ago
1
...
417
418
419
420
421
...
901
Community Library Entry
0
Regular Expression
Python
r"
(?P<ipc_cpc_fi>
\b
(?P<section>
[
A
-
HY
]
)
(?(section)
(?P<class>
\d
{2}
)?
)
(?(class)
(?P<subclass>
[
A
-
Z
]
)?
)
(?(subclass)
*
(?P<group>
\d
{1,}
)?
)
(?(group)
(?:
/
(?P<subgroup>
\d
{1,}
)
)?
)
(?(subgroup)
*
(?P<subsubgroup>
[
A
-
Z
]
?
)
)
\b
)
"
gm
Open regex in editor
Description
ipc cpc fi
Submitted by
anonymous
-
5 years ago