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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 13,020 community submitted regex patterns...
1
How to document a Regex? Example 2
PCRE (PHP <7.3)
How to document a Regex? Example 2: added documentation using (?#)
Submitted by
Thomas
-
9 years ago
1
How to document a regex? Example 1
PCRE (PHP <7.3)
How to document a regex? Example 1: undocumented Regex which works with my test string
Submitted by
Thomas
-
9 years ago
1
Credit Card finder
PCRE (PHP <7.3)
Captures credit card looking sequence of digits Luhn validation remains required as a complement.
Submitted by
OP
-
9 years ago
0
Multiple matches in php but only one in javascript
ECMAScript (JavaScript)
I have used this regexp succesfully in php with flags gmU and have multiple matches. In js there is no U flag and this only returns last match. Is there anything I can do to make this work similarly in javascript?
Submitted by
yorogs
-
9 years ago
1
cross platform file extension in node/io.js
ECMAScript (JavaScript)
This regex will match the file extension on any platform in node.js or io.js.
Submitted by
Russell Dempsey
-
9 years ago
5
URL
PCRE (PHP <7.3)
URL Description from Dr. M. G. @ Brookes
Submitted by
anonymous
-
9 years ago
0
TCP/UDP port number
PCRE (PHP <7.3)
validates TCP/UDP port number (1..65535)
Submitted by
sanchox
-
9 years ago
1
AutoDateRegex
PCRE (PHP <7.3)
Regex for date for example in saved reports (01m-1y) beginning of last month Format -> dmy
Submitted by
Mayer@netgo.org
-
9 years ago
-3
Strict email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
vx
PCRE (PHP <7.3)
sv
Submitted by
cv
-
9 years ago
1
PHPfrance soustraction d'une chaîne
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
fixer
PCRE (PHP <7.3)
no description available
Submitted by
t
-
9 years ago
-2
strip text enclosed in parentheses that does not match any keyword(s)
PCRE (PHP <7.3)
strip or remove parentheses enclosed text - including the parentheses itself - only if the enclosed text does not contain any of the FULL keyword(s). Leave all parentheses enclosed text if it contains any keyword(s) listed in the regex string. Uses negative lookahead and \b for determining word boun...
Submitted by
marie bacuno
-
9 years ago
1
CSS instructions
PCRE (PHP <7.3)
Find everything between {}
Submitted by
anonymous
-
9 years ago
2
Password Enforcement Pattern -- trailing pattern
PCRE (PHP <7.3)
This RegEx was posted on a Ruby site as one for enforcing password pattern. I added {8,32} to limit the length of the password, even though I realize no one has passwords longer than that. Rules: at least 1 digit, 1 special character (as defined), 1 upper case and 1 lower case character, between 8 a...
Submitted by
Dave Phillips
-
9 years ago
1
Cleveland, OH
ECMAScript (JavaScript)
CLeveland, OH ||| SanDiego, CA this regex will pick up on those
Submitted by
anonymous
-
9 years ago
2
Get video parameters from many video services at once
ECMAScript (JavaScript)
supported youtube, vimeo, face liveleak, break, ebaums, facebook support url and iframes
Submitted by
Misthero
-
9 years ago
1
Test
PCRE (PHP <7.3)
Tralala
Submitted by
Tralala
-
9 years ago
1
q3df visname tester
PCRE (PHP <7.3)
www.q3df.org profil visname regex tester
Submitted by
nightmare
-
9 years ago
1
science on saturday 1
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
1
...
612
613
614
615
616
...
651
Get video parameters from many video services at once
2
Regular Expression
ECMAScript (JavaScript)
/
(?:
http
(?:
s
)?
:
\/\/
)?
(?:
player
.
|
www
\.
)?
(
facebook
\.
com
|
vimeo
\.
com
|
ebaumsworld
\.
com
|
youtu
(?:
be
\.
com
|
\.
be
|
be
\.
googleapis
\.
com
)
|
liveleak
\.
com
|
break
\.
com
)
\/
(?:
video
\.
php
(?:
\?
v=
)
|
media
\/
embed
\/
|
video
\/
watch
\/
|
video
\/
|
embed
\/
|
watch
\?
v=
|
v
\/
)?
(?:
(?:
view
|
ll_embed
)
\?
)?
(?:
(
f
|
i
)
=
)?
(?:
video
\/
|
(?:
.
*
-
)
)?
(
[
A
-
Za
-
z0
-
9._%-
]
*
)
(?:
\&
\S
+
)?
/
Open regex in editor
Description
supported youtube, vimeo, face liveleak, break, ebaums, facebook support url and iframes
Submitted by
Misthero
-
9 years ago