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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 5,900 community submitted regex patterns...
1
contact email validator updated
ECMAScript (JavaScript)
contact email validator updated for dash and number in domain TLD
Submitted by
anonymous
-
8 years ago
1
contact email address validation
ECMAScript (JavaScript)
validate contact email clientside in JS
Submitted by
anonymous
-
8 years ago
2
ofstream ifstream file C++
Python
match ofstream of("test.txt", ios_base::app); ofstream of("test.txt", ios_base::trunc); ofstream of("test.txt", ios_base::binary);
Submitted by
Денис Суховерхов
-
8 years ago
1
ofsream open file C++
Python
match of.open("test.txt");
Submitted by
Денис суховерхов
-
8 years ago
1
shift+click url() parser
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
Phone number extract
Python
Used to get the phone number from a list of phone numbers
Submitted by
jmitz
-
8 years ago
1
Search number in comma separated list
ECMAScript (JavaScript)
Search each occurence of one number in a comma separated list string
Submitted by
Tommaso frazzetto
-
8 years ago
1
test
ECMAScript (JavaScript)
test
Submitted by
test
-
8 years ago
1
Check delimited email list validity
ECMAScript (JavaScript)
Validates list of email addresses separated by , or ; and possibly spaces. Capture groups will return only the first and last email captured.
Submitted by
Kevin Rák
-
8 years ago
1
URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2
bye
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
1
string between two underscores
Python
this simple regexp will find a string between two undercores
Submitted by
slprag
-
8 years ago
1
Convert array.forEach for IE8
ECMAScript (JavaScript)
A regex and replace pattern pair for replacing array.forEach(func) with angular.forEach(array, func) This is useful because IE8 does not support array.forEach.
Submitted by
anonymous
-
8 years ago
1
vggcb
Python
no description available
Submitted by
anonymous
-
8 years ago
1
(.+) \[INFO.+\nStopWatch(?:.+?\n)+?(.+% .+ Mercado)
Python
Tiempo mercados
Submitted by
anonymous
-
8 years ago
0
Words with spaces in-between
Python
Matches words (with certain special chars) and one or more spaces in between those words.
Submitted by
JAVA
-
8 years ago
1
Chat command capture
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
number or range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
0
CSV remove trailing spaces
Python
Remove trailing spaces from CSV files
Submitted by
destegabry
-
8 years ago
1
^([A-Z]{3})$
ECMAScript (JavaScript)
^([A-Z]{3})$
Submitted by
anonymous
-
8 years ago
1
...
241
242
243
244
245
...
295
get video id from youtube link
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
-
8 years ago
(Last modified a year ago)