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 11,520 community submitted regex patterns...
0
quoted string possibly containing escaped delimiter
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
1
bridal quality
PCRE (PHP <7.3)
no description available
Submitted by
mine
-
11 years ago
-1
Twitter #hashtags
Python
Using the twitter API, take a tweet object and find & link #tags to embed in HTML
Submitted by
@triplec1988
-
11 years ago
1
email
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
0
Match quotes around words (including whitespace)
PCRE (PHP <7.3)
no description available
Submitted by
Michael de Silva
-
11 years ago
3
Get Nth value (3 times)
PCRE (PHP <7.3)
capture Nth character from string, 3 times
Submitted by
K.
-
11 years ago
2
hghdgh
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
6
Matching balanced parens, brackets, and braces
PCRE (PHP <7.3)
no description available
Submitted by
Noah Luck Easterly
-
11 years ago
4
YouTube Grabber Cleanup
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
2
takie
PCRE (PHP <7.3)
no description available
Submitted by
sdfsdfdsf
-
11 years ago
-1
Simple replacing. Replaced first folder in path to file.
PCRE (PHP <7.3)
Used with Java regexp. F.e. you can use replaceAll("regexp", "filePath").
Submitted by
E.ch.
-
11 years ago
2
Hello world example
PCRE (PHP <7.3)
no description available
Submitted by
Fedir RYKHTIK
-
11 years ago
2
Get Currency SYMBOL/CODE
PCRE (PHP <7.3)
no description available
Submitted by
Ka.
-
11 years ago
-1
Finds <font> tag
PCRE (PHP <7.3)
Useful for cleaning old html code from tags
Submitted by
anonymous
-
11 years ago
-2
Finds HTML img tags
PCRE (PHP <7.3)
no description available
Submitted by
Matt Solum
-
11 years ago
0
Verify and match e-mail address
PCRE (PHP <7.3)
no description available
Submitted by
Josh K
-
11 years ago
-1
Match the ID on individual Vimeo URLs
PCRE (PHP <7.3)
no description available
Submitted by
Josh K
-
11 years ago
1
.
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
11 years ago
4
Get stuff inside <a> tags
PCRE (PHP <7.3)
Get stuff inside tags, which are between certain words
Submitted by
Jerry
-
11 years ago
1
Get inside single/double quotes
PCRE (PHP <7.3)
Get everything inside single/double quotes and ignoring escaped ones
Submitted by
Jerry
-
11 years ago
1
...
572
573
574
575
576
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