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,040 community submitted regex patterns...
2
strip parentheses enclosed text with no keywords
PCRE (PHP <7.3)
strip parentheses enclosed text with no keywords - handles nested parentheses - if using brackets/braces normalize string to parentheses then use the regex
Submitted by
marie bacuno
-
10 years ago
-2
Extract email client inserted "On <DATE>, <SENDER> wrote:"
PCRE (PHP <7.3)
Email clients add this line, call it "sender wrote" to reply emails.
Submitted by
Vlad Burca
-
10 years ago
1
Extract email client inserted reply line "On <DATE>, <SENDER> wrote:"
PCRE (PHP <7.3)
Email clients insert the "sender wrote" line to email replies.
Submitted by
Vlad Burca
-
10 years ago
-2
Name
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
10 years ago
1
Css Splitter
PCRE (PHP <7.3)
Splits the css code into two blocks. (comments|selector block)
Submitted by
@Silent_Coder
-
10 years ago
1
match arguments similar to shell, supports quoted string
ECMAScript (JavaScript)
first group matches quoted strings second group plain text, arguments are separated with a space. example: "this is a \"string\"" thisisnot "another \"string\" with a backslash \"\\"" just replace \" with " after matching.
Submitted by
anonymous
-
10 years ago
1
BIGipServerPool Parsing
PCRE (PHP <7.3)
Parse for the BIGipServerPool set by F5 load balancers
Submitted by
Nathan Baker
-
10 years ago
1
Käyttäjätunnus
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
0
CNPJ - brazilian company identifier number
ECMAScript (JavaScript)
Matches CNPJ, which is an identification number issued to Brazilian companies.
Submitted by
Uilian Souza
-
10 years ago
1
SIP Address Validator
PCRE (PHP <7.3)
Validates SIP(Session Initiation Protocol) Addresses
Submitted by
Tarun Telang
-
10 years ago
1
SIP Address Validator
ECMAScript (JavaScript)
This Regular Expression Validates SIP Addresses
Submitted by
Tarun Telang, Sanjay Sinha
-
10 years ago
2
paren strip test
PCRE (PHP <7.3)
paren strip test
Submitted by
marie bacuno
-
10 years ago
1
Find any version of US country name in address string
PCRE (PHP <7.3)
Given a string that represents a location in the USA, find any version of the USA country name as one would expect at the end of that string. Does not match on if it finds it elsewhere such as a freeway name or the "us" in the city of "Russellville".
Submitted by
Bobby
-
10 years ago
1
Tele
PCRE (PHP <7.3)
no description available
Submitted by
Alpha
-
10 years ago
1
Regex to replace alert
PCRE (PHP <7.3)
foo
Submitted by
anonymous
-
10 years ago
0
deviantart scrape search results
Python
Scrape DeviantArt's search page HTMl to extract the category, the id, the user and the image url of each post.
Submitted by
nelieru
-
10 years ago
0
Parse Portuguese Frequency dictionary
Python
The following is a dictionary of 4991 portuguese words ordered by frequency. I need the file to have just number of line and word like the following 11 lines of example. So I need to delete all lines that don't start with a number and delete everything after number and word. Also delete all lines wi...
Submitted by
alfacent
-
10 years ago
1
Achar dominios
PCRE (PHP <7.3)
no description available
Submitted by
BrineDev
-
10 years ago
1
Extract video code from YouTube URL
ECMAScript (JavaScript)
no description available
Submitted by
@uimanwashere
-
10 years ago
1
win path
PCRE (PHP <7.3)
no description available
Submitted by
Dragan
-
10 years ago
1
...
861
862
863
864
865
...
902
Community Library Entry
2
Regular Expression
ECMAScript (JavaScript)
/
(
https
?
:
\/\/
)?
(
www
.
)?
(
youtube
\.
com
|
youtu
\.
be
|
youtube-nocookie
\.
com
)
\/
(?:
embed
\/
|
v
\/
|
watch
\?
v=
|
watch
\?
list=
(
.
*
)
&v=
)?
(
(
\w
|
-
){11}
)
(
&list=
(
\w
+
)
&
?
)?
/
i
Open regex in editor
Description
It gets the playlistID and the videoID to conform the embed URL from the video URL
Submitted by
@rubenlopezgea
-
10 years ago