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 12,840 community submitted regex patterns...
0
otros
PCRE (PHP <7.3)
a
Submitted by
anonymous
-
3 years ago
0
MongoDB Connection String
ECMAScript (JavaScript)
A regEx to validate a mongoDb connection string like the following: mongodb+srv://user:pass@subdomain.domain.com:27107/fDb/?replicaSet=myRepl&ssl=true
Submitted by
F2BEAR
-
3 years ago
(Last modified 3 years ago)
0
character followed by number
Golang
ehehe
Submitted by
arahsafari
-
3 years ago
0
Keep Number and .,
PCRE (PHP <7.3)
Keep Number and .,
Submitted by
HUUTAI
-
3 years ago
0
phone nomber simple validation
ECMAScript (JavaScript)
format 12345678 123456789 1234567890
Submitted by
anonymous
-
3 years ago
0
Address
Golang
Address check
Submitted by
anonymous
-
3 years ago
0
zero trailing
PCRE (PHP <7.3)
it match when zero is second characters of the string and so on
Submitted by
Azhi
-
3 years ago
0
t1
PCRE (PHP <7.3)
t1
Submitted by
anonymous
-
3 years ago
0
not_next_text
PCRE (PHP <7.3)
not_text
Submitted by
anonymous
-
3 years ago
0
identify html headers
PCRE (PHP <7.3)
Able to identify many header html tags in the text and group eachone.
Submitted by
Adão Dias
-
3 years ago
0
Phone Number Match only + and digits
ECMAScript (JavaScript)
not match : 123-456-7890 (123) 456-7890 123 456 7890 123.456.7890...
Submitted by
Azhi
-
3 years ago
0
First letter of each word
ECMAScript (JavaScript)
Lowercase whole line to make it work
Submitted by
PolyFlower
-
3 years ago
0
KFZ Kennzeichen Prüfung (ohne -)
ECMAScript (JavaScript)
Prüft ein deutsches Kfz-Kennzeichen auf gültigen Aufbau Source: morpheus42
Submitted by
Simon Müller
-
3 years ago
0
bash path splitter
PCRE (PHP <7.3)
Split a a path into to groups around a central directory
Submitted by
me
-
3 years ago
0
HTTP Authorization header for JWT token
ECMAScript (JavaScript)
HTTP Authorization header for JWT token
Submitted by
QNimbus
-
3 years ago
0
JWT token
ECMAScript (JavaScript)
JWT token
Submitted by
QNimbus
-
3 years ago
0
youtube
PCRE (PHP <7.3)
AMP - chinatimes
Submitted by
anonymous
-
3 years ago
0
upload file name validations
ECMAScript (JavaScript)
upload file name validations
Submitted by
Arumugam
-
3 years ago
0
US Phone number regex
ECMAScript (JavaScript)
Matches formats such as the following: 555-555-5555 (555)555-5555 (555) 555-5555 555 555 5555 5555555555...
Submitted by
anonymous
-
3 years ago
(Last modified a year ago)
0
Math evaluation
ECMAScript (JavaScript)
Regex for capturing LaTeX and passing it to a program, like sympy.
Submitted by
anonymous
-
3 years ago
1
...
608
609
610
611
612
...
642
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
(?:
(?:
http:
|
https:
)*
?
\/\/
(?:
www
\.
|)
(?:
youtube
\.
com
|
m
\.
youtube
\.
com
|
youtu
\.
|
youtube-nocookie
\.
com
)
.
*
(?:
v=
|
v%3D
|
v
\/
|
(?:
a
|
p
)
\/
(?:
a
|
u
)
\/
\d.
*
\/
|
watch
\?
|
vi
(?:
=
|
\/
)
|
\/
embed
\/
|
oembed
\?
|
be
\/
|
e
\/
)
)
(
[^
&?%#
\/
\n
]
*
)
/
gm
Open regex in editor
Description
asdfasdfasdf
Submitted by
anonymous
-
3 years ago