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 15,100 community submitted regex patterns...
0
PASSPORT
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Extract IIS Site Name and ID From Web-Binding
PCRE (PHP <7.3)
Extract Site Name and ID from the Web-binding information in the ItemXPath field
Submitted by
anonymous
-
5 years ago
0
If x; => if (x){
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Global => public static
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Field => public
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
email
Python
no description available
Submitted by
anonymous
-
5 years ago
0
if (x=x) => if (x==x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
IPv4 and MAC addresses
PCRE (PHP <7.3)
Match tokens that are either IPv4 addresses or MAC addresses (three formats)
Submitted by
anonymous
-
5 years ago
0
Read Music Directory
PCRE (PHP <7.3)
Can be used to read a file with a list of songs or read a directory of songs for the artist, song title, and the songs format. Assuming there are named in that exact order (i.e. Artist - Title.format) Example: demon.devin - deception.mp3
Submitted by
anonymous
-
5 years ago
0
Autogen PEH Headend
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
VSCode DecorationRenderOptions docs formatting
PCRE (PHP <7.3)
k
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func x, x => func (x, x)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func => BM.func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
class(x) => (class)x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
func => tDraw.func
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
block end => } // block end
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Else => } else {
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
0
Local x => int x
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
5 years ago
1
...
591
592
593
594
595
...
755
Community Library Entry
40
Regular Expression
PCRE (PHP <7.3)
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
12 years ago