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,900 community submitted regex patterns...
2
Regex tutorial
Java 8
Case insensitive match the whole word betwween \bword\b
Submitted by
anonymous
-
4 years ago
(Last modified a year ago)
0
MTR
PCRE2 (PHP >=7.3)
no description available
Submitted by
anonymous
-
5 years ago
(Last modified 3 years ago)
1
Regular expression for parsing VK.com links.
PCRE2 (PHP >=7.3)
no description available
Submitted by
ZKelo
-
5 years ago
(Last modified 2 years ago)
0
Detect path win/linux
PCRE2 (PHP >=7.3)
Détecte si une chaine est un chemin Windows ou Linux valide
Submitted by
anonymous
-
7 years ago
(Last modified a year ago)
1
Word Wrap examples
PCRE2 (PHP >=7.3)
Four examples of word wrapping at the 80 character mark, each one taking fewer steps than the last. Comment and uncomment lines with # to see the difference between versions. Optimization discussions welcome!
Submitted by
OnlineCop
-
7 years ago
(Last modified a year ago)
2
URL parser
PCRE2 (PHP >=7.3)
The best way to parse URL via Regex. This can be used in javascript, PHP, etc.
Submitted by
Ivijan-Stefan Stipic
-
8 years ago
(Last modified a year ago)
0
Bash (sed)
Java 8
no description available
Submitted by
anonymous
-
8 years ago
(Last modified a year ago)
0
simple json key value pair parser
PCRE2 (PHP >=7.3)
no description available
Submitted by
amlang
-
9 years ago
(Last modified 5 months ago)
0
Regular expression for extracting HTML tag attributes
Java 8
no description available
Submitted by
Amir Arian
-
10 years ago
(Last modified a year ago)
1
...
143
144
145
Community Library Entry
1
Regular Expression
Python
r"
^
(
http
[
s
]
?
:
\/\/
)?
(
[^
:
\/
\s
]
+
)
(
:
(
[^
\/
]
*
)
)?
(
\/
\w
+
\.
)*
(
[^
#?
\s
]
+
)
(
\?
(
[^
#
]
*
)
)?
(
#
(
.
*
)
)?
$
"
i
Open regex in editor
Description
Break a URL into parts: protocol url path get parameters hash
Submitted by
Dale O'Brien
-
10 years ago