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,020 community submitted regex patterns...
0
Youtube Updated 2018 JS
ECMAScript (JavaScript)
no description available
Submitted by
Denis Efremov <efremov.a.denis@gmail.com>
-
7 years ago
0
Youtube Updated 2018 Python
Python
no description available
Submitted by
Denis Efremov <efremov.a.denis@gmail.com>
-
7 years ago
0
Require Node.js regex advanced JS
ECMAScript (JavaScript)
no description available
Submitted by
Denis Efremov <efremov.a.denis@gmail.com> [FORK]
-
7 years ago
0
Hashtag Tokenizer
PCRE (PHP <7.3)
A regex I use to Tokenize Hashtags in common textflow
Submitted by
juergen
-
7 years ago
0
Gpon onu/ethernet uni (2v)
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
),(
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
斗地主
Python
no description available
Submitted by
anonymous
-
7 years ago
0
Regex tripplet
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
parse talents
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Manu Version Parse talents and winrates
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Trading symbol
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
Quote Javascript-style hash to convert to valid JSONP (JSON with padding)
PCRE (PHP <7.3)
Add single quotes to unquoted parts of a valid JS hash so it can be parsed with JSON decoders. Tries to keep boolean and numeric values unquoted Note: It will not handle certain edge-cases You might need to clear the trailing commas
Submitted by
anonymous
-
7 years ago
0
Match double quoted or single quoted multi line string in code.
Python
This will allow for valid string parsing via a regex in popular interpreted languages like Lua, Python and Ruby.
Submitted by
Siddharth Gupta
-
7 years ago
0
斗地主
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
0
DDMMMYY w/Leap Year Check
PCRE (PHP <7.3)
Validate dates in the formats of 1Feb20/01Feb20/29FEB20 with the 29th of February invalid on non-leap years.
Submitted by
anonymous
-
7 years ago
0
UK postcode with spaces optional
PCRE (PHP <7.3)
Sourced from https://assets.publishing.service.gov.uk/government/uploads/system/uploads/attachment_data/file/488478/Bulk_Data_Transfer_-_additional_validation_valid_from_12_November_2015.pdf and modified to allows spaces to be optional
Submitted by
anonymous
-
7 years ago
0
YYYYMMDD w/Leap Year Check
PCRE (PHP <7.3)
Validate dates in the format of 20201231 with leap year check on the 29th of February
Submitted by
anonymous
-
7 years ago
0
DDMMMYYYY w/Leap Year Check
PCRE (PHP <7.3)
Format of 29Feb2020 or 29FEB2020 with leap year check
Submitted by
anonymous
-
7 years ago
0
files containing [rgo1] ending [.html]
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
0
step 1 test
PCRE (PHP <7.3)
unit tests
Submitted by
anonymous
-
7 years ago
1
...
99
100
101
102
103
...
901
Community Library Entry
0
Regular Expression
Python
r"
^
(?:
(?:
https
?
:
\/\/
)?
(?:
(?:
www
|
s
|
i2
)
\.
)?
(?:
youtu
\.
?
be
|
ytimg
)
(?:
\.
com
)?
\/
)
(?:
watch
\?
v=
|
v
\/
|
yt
\/
favicon
|
oembed
\?
|
vi
\/
)?
(?:
url=http%3A
\/\/
www
\.
youtube
\.
com
\/
watch
\?
v%3D
)?
(
[
a
-
zA
-
Z0
-
9_-
]
*
)
.
*
?
$
"
gm
Open regex in editor
Description
no description available
Submitted by
Denis Efremov <efremov.a.denis@gmail.com>
-
7 years ago