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 5,720 community submitted regex patterns...
11
find all link(<a>) tags expect your links in href attribute
ECMAScript (JavaScript)
YourLink - not found AnotherLink - found
Submitted by
KoT
-
9 years ago
87
Password Validation
ECMAScript (JavaScript)
Checks that a password has a minimum of 6 characters, at least 1 uppercase letter, 1 lowercase letter, and 1 number with no spaces.
Submitted by
Christian Klemp
-
9 years ago
9
UUID
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
10 years ago
9
English date in "dd mmmm yyyy" format
Python
Parse an English date following the "dd mmmm yyyy" format.
Submitted by
Tantale
-
9 years ago
15
Hashtag
ECMAScript (JavaScript)
The secret of the Twitterverse.
Submitted by
Joogl
-
10 years ago
35
IP Address validator
ECMAScript (JavaScript)
Validates IPv4 IP Address
Submitted by
krzysp
-
9 years ago
73
Regex for telephone numbers all over the world
Recommended
ECMAScript (JavaScript)
Detects most of the phone numbers all over the world
Submitted by
Aditya Joshi
-
11 years ago
(Last modified a year ago)
7
SO: fail2ban regular to find 403 request in nginx
Python
http://stackoverflow.com/q/25778420/2072035
Submitted by
anonymous
-
10 years ago
(Last modified a year ago)
7
TimezoneOffset
ECMAScript (JavaScript)
used to parse timezone in the format -08:00 or +05:30
Submitted by
Neha
-
10 years ago
7
simple email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
7
Extract currency with currency symbol if present
ECMAScript (JavaScript)
Extracts values of the form £nnn,nnn.nn or $nnn.nnn from text
Submitted by
Simon Gardner
-
9 years ago
5
Form Tag
Python
Form Tag
Submitted by
Jay Patel
-
9 years ago
5
psswd
Python
no description available
Submitted by
anonymous
-
9 years ago
5
Find and extract email domain
Python
Find and extract email domain. Ex: test@example.pt -> extract 'example.pt'
Submitted by
Fnxk
-
9 years ago
5
Match Only Text
Python
no description available
Submitted by
anonymous
-
8 years ago
12
Full url parse, domain, path, params
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
13
Credit Card Expiry Date
ECMAScript (JavaScript)
Allows inserting expiry date as MM/YYYY or MM-YYYY format
Submitted by
Rider
-
9 years ago
10
money: either 0 or 2 dp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
14
us postal/zip
ECMAScript (JavaScript)
no description available
Submitted by
jay johnson
-
11 years ago
13
US Currency Format
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
...
283
284
285
286
Community Library Entry
11
Regular Expression
ECMAScript (JavaScript)
/
(?:
https
?
:
\/\/
)?
(?:
www
\.
)?
(?:
youtu
\.
be
\/
|
youtube
\.
com
\/
(?:
embed
\/
|
v
\/
|
playlist
\?
|
watch
\?
v=
|
watch
\?
.
+
(?:
&
|
&
)
;v=
)
)
(
[
a
-
zA
-
Z0
-
9
\-
_
]
{11}
)?
(?:
(?:
\?
|
&
|
&
)
index=
(
(?:
\d
){1,3}
)
)?
(?:
(?:
\?
|
&
|
&
)?
list=
(
[
a
-
zA
-
Z
\-
_0
-
9
]
{34}
)
)?
(?:
\S
+
)?
/
g
Open regex in editor
Description
extract video id, index, play list id from youtube url
Submitted by
anonymous
-
9 years ago