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 3,640 community submitted regex patterns...
3
Get Headings From Markdown Format
ECMAScript (JavaScript)
Get all headings in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
9 years ago
1
match non-alphanumeric in string
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
3
Non vowel words
ECMAScript (JavaScript)
/\b(+)\b/ig
Submitted by
regexe
-
9 years ago
2
word before :
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
fffs
ECMAScript (JavaScript)
dfsfd
Submitted by
anonymous
-
9 years ago
2
US datetime
ECMAScript (JavaScript)
Validates a US mm-dd-yy(yy) with an optional hh:mm:ss time.
Submitted by
anonymous
-
9 years ago
1
word matcher
ECMAScript (JavaScript)
no description available
Submitted by
Cengizism
-
9 years ago
1
US Telephone Number
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Javascript GUID regex
ECMAScript (JavaScript)
Validate GUID using a regex expression
Submitted by
stom
-
9 years ago
3
Multiple emails seperated with comma
ECMAScript (JavaScript)
Multiple emails seperated with comma allowed multiple dot ltds
Submitted by
Hassan Youssef
-
9 years ago
1
Phone Number
ECMAScript (JavaScript)
Allows a phone number in the following format: (123) 123-1234 The space is optional
Submitted by
Tom G.
-
9 years ago
3
Find css lines with px sizing
ECMAScript (JavaScript)
Use to find css sizing that migh need conversion to vs or alike.
Submitted by
Bob
-
9 years ago
3
File name Cleanup
ECMAScript (JavaScript)
Strips all non "A-Z,a-z,0-9+-_" characters and replaces them with a single "-"
Submitted by
Apsis0215
-
8 years ago
1
Phone Number
ECMAScript (JavaScript)
Between 8 and 10 Digits, no spaces
Submitted by
anonymous
-
8 years ago
3
IBAN
ECMAScript (JavaScript)
The complete regex for IBAN numbers
Submitted by
anonymous
-
8 years ago
3
Sql Injection detection
ECMAScript (JavaScript)
this regex detect any sql injections .
Submitted by
Saeed.Tabrizi@gamil.com
-
8 years ago
3
Markdown link rewriting
ECMAScript (JavaScript)
A regular expression which finds all instances of markdown links and helps with rewriting link paths.
Submitted by
Will Vaughn
-
8 years ago
3
Hostname validation
Golang
Validates subdomain, root domain, and wild card domains
Submitted by
AnonymousDapper
-
8 years ago
3
Email
ECMAScript (JavaScript)
This is a bit simpler version that is still quite robust. It was taken from a Formik example.
Submitted by
codefinity
-
4 years ago
3
discord invite link
ECMAScript (JavaScript)
detect discord invite links such as: discord.gg/link discord.com/invite/link .gg/link .com/invite/link...
Submitted by
padero
-
3 years ago
1
...
10
11
12
13
14
...
182
Community Library Entry
1
Regular Expression
Golang
`
^
(?:
https
?
:
\/\/
)?
(?:
(?:
www
\.
)?
youtube
\.
com
\/
(?:
(?:
v
\/
)
|
(?:
embed
\/
|
watch
(?:
\/
|
\?
)
){1,2}
(?:
.
*
v=
)?
|
.
*
v=
)?
|
(?:
www
\.
)?
youtu
\.
be
\/
)
(
[
A
-
Za
-
z0
-
9_
\-
]
+
)
&
?
.
*
$
`
gmi
Open regex in editor
Description
no description available
Submitted by
RyuaNerin
-
9 years ago
(Last modified a year ago)