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 8,620 community submitted regex patterns...
2
sample
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
1
js
ECMAScript (JavaScript)
no description available
Submitted by
sd
-
11 years ago
4
Match Brackets and anything inside
ECMAScript (JavaScript)
no description available
Submitted by
andreayang
-
11 years ago
1
get image with classname
ECMAScript (JavaScript)
no description available
Submitted by
@cloverink
-
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
Anom
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
0
Simple
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
-1
Find image style
ECMAScript (JavaScript)
style img
Submitted by
anonymous
-
11 years ago
3
HTML image tag src
ECMAScript (JavaScript)
Capture src attribute of HTML image tags
Submitted by
Simon Altschuler
-
11 years ago
2
Error in Refex
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
11 years ago
5
Youtube ID matcher
ECMAScript (JavaScript)
Credit: https://gist.github.com/FinalAngel/1876898
Submitted by
anonymous
-
11 years ago
5
Hello world !
ECMAScript (JavaScript)
no description available
Submitted by
Fedir RYKHTIK
-
11 years ago
106
ECMAScript/JavaScript trim
ECMAScript (JavaScript)
Trim leading and trailing whitespace from a string.
Submitted by
fp
-
11 years ago
(Last modified 19 days ago)
1
...
429
430
431
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