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 18,000 community submitted regex patterns...
2
haml attribute parsing
ECMAScript (JavaScript)
no description available
Submitted by
OnlineCop
-
10 years ago
2
filename split 2
ECMAScript (JavaScript)
no description available
Submitted by
Miloš Ratković
-
10 years ago
2
full asshole
ECMAScript (JavaScript)
no description available
Submitted by
alex
-
10 years ago
2
Regex Capture String
PCRE (PHP <7.3)
Capture out Parts using regular expressions
Submitted by
Brandon
-
10 years ago
2
phone regex
ECMAScript (JavaScript)
Match phone number with extensions or not
Submitted by
Mélissa Dumont
-
10 years ago
2
Email validation
ECMAScript (JavaScript)
Very crude, but effective email validation.
Submitted by
Ryan Oaks
-
10 years ago
2
IPv4
PCRE (PHP <7.3)
no description available
Submitted by
Jorge C.
-
10 years ago
2
facebook post embed code
PCRE (PHP <7.3)
This pattern matches to the facebook post embed codes. It matches on each parts of the whole embed code individualy, and matches on the complete embed code either, but it requires minimum a fb-post div.
Submitted by
kristian tanacs
-
10 years ago
2
Find any digits in string
Python
no description available
Submitted by
anonymous
-
10 years ago
2
URL
PCRE (PHP <7.3)
Matches the URL from the text to 95 percentage
Submitted by
Harinath
-
9 years ago
2
Spanish telephone number
ECMAScript (JavaScript)
Teléfonos del territorio de España. Se admiten teléfono de 9 cifras que empiecen por 9, 7 ó 6. Opcionalmente puede tener el prefijo de país siendo válidas las siguientes opciones: (+34) (0034) +34 0034 ...
Submitted by
toyeca
-
9 years ago
2
Replace REM by blank
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Grab all hyperlinks
PCRE (PHP <7.3)
no description available
Submitted by
Josh Bourke
-
9 years ago
2
SSN
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Twitter user profile url pattern
PCRE (PHP <7.3)
Pattern that check your string to match Twitter user profile URL.
Submitted by
JSC Quatrodev
-
9 years ago
2
YouTube Iframe parser
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
password 1upper 1lower 1number 1specialcharater
ECMAScript (JavaScript)
fjk@1Qaa$
Submitted by
Anuswadh
-
9 years ago
2
END on new line
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2
Removes script tags
ECMAScript (JavaScript)
no description available
Submitted by
ghs
-
9 years ago
2
Remove script tags from code
PCRE (PHP <7.3)
Regular expression to remove only the tags from the code. The regular expression only removes the tags, not the JS code inside the tag.
Submitted by
IvenMS
-
9 years ago
1
...
43
44
45
46
47
...
900
Community Library Entry
2
Regular Expression
PCRE (PHP <7.3)
/
(
https
?
:
\/\/
)?
(
w
{3}
\.
)?
(
\w
+
\.
\w
{2,3}
\.
\w
{2}
?
)?
(
\w
+
-
)?
(
:
?
%
?
\w
{2,}
\/
?
\.
\w
{2,3}
)?
(
\/
\w
+
)?
(
\/
[
\d\w
]
.
+
\s$
)?
(
:
\d
+
)?
/
gi
Open regex in editor
Description
Matches the URL from the text to 95 percentage
Submitted by
Harinath
-
9 years ago