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...
1
Chrizzzs Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
-1
localhost match range ip with port number
Python
Matches all ips that points to localhost like, optionally capturing port number: 127.X.X.X and 127.X.X.X:
Submitted by
Rodrigo M. A.
-
9 years ago
1
Black Hole Exploit Kit
PCRE (PHP <7.3)
HTTP method = “GET” Requested file type ENDS WITH ".php" Requested file type = “x-msdownload” Request MATCHES Regular Expression
Submitted by
anonymous
-
9 years ago
1
Parcel ID (Michigan)
Python
REGEX validator for Parcel IDs. Works for Michigan but may for other states if their parcel IDs have form "00-00-00-00-000-000".
Submitted by
Lewis
-
9 years ago
1
Nuclear Exploit Kit
Python
Nuclear Exploit Kit Requested file
Submitted by
anonymous
-
9 years ago
1
Delte first symbols in line
PCRE (PHP <7.3)
no description available
Submitted by
Ilya Korzh
-
9 years ago
1
f
Python
f
Submitted by
f
-
9 years ago
1
magento digits-range validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
Select string in between HTML tags
PCRE (PHP <7.3)
no description available
Submitted by
Jim Sheen
-
9 years ago
1
currency-50-100000
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
extraction
PCRE (PHP <7.3)
jamie sucks
Submitted by
me
-
9 years ago
1
MyRegexOnVeb
PCRE (PHP <7.3)
Выражения на вебы
Submitted by
Legend072
-
9 years ago
1
RFC2616 HTTP Header Date
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
Line VTY
Python
Used to search line vty for exec
Submitted by
Hozenya
-
9 years ago
1
android strings tester
PCRE (PHP <7.3)
replace .* with a test string
Submitted by
l3d00m
-
9 years ago
1
Find C# Namespace
ECMAScript (JavaScript)
Simple regex to find the Namespace line in a C# class.
Submitted by
Erik Bartlow
-
9 years ago
1
Git merge replacements
PCRE (PHP <7.3)
Group 1 gives ours, group 2 gives theirs
Submitted by
Erik
-
9 years ago
0
Base64 Test
ECMAScript (JavaScript)
Tests a string to see if it fits the Base64 format.
Submitted by
anonymous
-
9 years ago
1
Parse pgbouncer log lines from syslog
Python
Regex to read pgbouncer's log lines when it's logging to syslog, and break it into useful groups.
Submitted by
Josh Berkus
-
9 years ago
1
...
141
142
143
144
145
...
900
Community Library Entry
3
Regular Expression
Golang
`
^
(?P<scheme>
[^
:
\/
?#
]
+
)
:
(?:
\/\/
)?
(?:
(?:
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@
\/
?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(?:
\?
(?P<query>
[^
#
]
*
)
)?
(?:
#
(?P<fragment>
.
*
)
)?
`
gm
Open regex in editor
Description
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago