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,460 community submitted regex patterns...
1
postfix
Python
get ip identifier, queue name, email domain and status from postfix log
Submitted by
kglod
-
10 years ago
1
States
Python
States (US) 2 char format, matches: Ga or GA
Submitted by
miqui
-
10 years ago
1
Get path from URL
Python
extract the path from a URL returns one group (if matching) with the path info e.g. http://somedomain.com/some-page/ http://www.domain.com:8080/some-page/ https://www.google.com:8080/some-page/...
Submitted by
luke_aus
-
10 years ago
1
regex for redirect
Python
no description available
Submitted by
igor
-
10 years ago
1
URL parser
Python
gets the ://:/ from am url
Submitted by
anonymous
-
10 years ago
1
Find exeptions in log4j
Python
regex to consider exceptions in log4j
Submitted by
anonymous
-
10 years ago
1
URL Validator and Slicer
Python
Validates a URL input as text and then slices it into: protocol, base_url, port, relative_url and parameters. (Multiline and global flags are set for debugging reasons only)
Submitted by
George Shazkho
-
10 years ago
2
Match 5 forward slashes
Python
Match 5 forward slashes
Submitted by
anonymous
-
10 years ago
2
selectin multiple image pattern
Python
no description available
Submitted by
cool_jesus
-
10 years ago
1
match the first sentence, ignoring enumerations
Python
no description available
Submitted by
Henrik Heimbuerger
-
10 years ago
2
Find any digits in string
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Inverse Match
Python
inverse match letters, numbers, and underscores
Submitted by
anonymous
-
10 years ago
1
REGEX
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Negative lookbehind
Python
no description available
Submitted by
anonymous
-
10 years ago
0
Almost working sites regex
Python
no description available
Submitted by
anonymous
-
10 years ago
1
Removes C-like comments
Python
no description available
Submitted by
Gabriel Olivério
-
10 years ago
3
Twitch URL Regex
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
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
1
Pinguino regex
Python
Used for replace words from .pdl
Submitted by
anonymous
-
10 years ago
12
Find Reddit Threads
Python
Simply searches for the thread-id in any kind of valid reddit-URL.
Submitted by
Mio
-
10 years ago
1
...
116
117
118
119
120
...
123
Community Library Entry
8
Regular Expression
Python
r"
^
(
http
[
s
]
?
:
)+
\/\/
(
[^
:
\/
\s
]
+
)
(
[^
#?
\s
]
+
)
\?
(
[^
#
]
*
)?
(
#
.
*
)?
$
"
i
Open regex in editor
Description
This is simplified from my last submission.
Submitted by
Dale O'Brien
-
11 years ago