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 6,240 community submitted regex patterns...
2
CSS URL parser tilde only
ECMAScript (JavaScript)
Find any url('~filename.jpg'). URL must contain tilde
Submitted by
@adjavaherian
-
9 years ago
3
youtube id und link
ECMAScript (JavaScript)
no description available
Submitted by
ogerly
-
9 years ago
4
Full e-mail validator
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Wikipedia anchor
ECMAScript (JavaScript)
Match Wikipedia anchor dot-instead-of-percent encoding string.replace(/((?:\.[a-f0-9]{2}){2})/ig, function(match) { return decodeURIComponent(match.replace(/\./g, '%')) });
Submitted by
anonymous
-
9 years ago
-2
find mp3 file
ECMAScript (JavaScript)
find mp3 file embeded in a link
Submitted by
ogerly
-
9 years ago
2
youtube link + id + <a>
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
youtube link
ECMAScript (JavaScript)
+ link + id
Submitted by
ogerly
-
9 years ago
1
soundclouds url in <a>
ECMAScript (JavaScript)
soundclouds url in
Submitted by
ogerly
-
9 years ago
5
MAC address
ECMAScript (JavaScript)
a mac address separated by dashes or colons.
Submitted by
anonymous
-
9 years ago
0
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Square_Brackets
ECMAScript (JavaScript)
no description available
Submitted by
Connor Goddard
-
9 years ago
1
Match_Between_Nth_And_Nth+1_Occurence_Of_Character_Pattern
ECMAScript (JavaScript)
This regular expression is designed to work with character-delimited strings, and provides a means to specify the index of delimiter occurrence at which content is extracted.
Submitted by
Connor Goddard
-
9 years ago
1
Absolute Date format
ECMAScript (JavaScript)
no description available
Submitted by
Jesse Benton
-
9 years ago
0
List of EmailAddresses
ECMAScript (JavaScript)
List of EmailAddresses optionally allowing with personal i.e. "Personal Name "
Submitted by
anonymous
-
9 years ago
1
Rubik Parser (with unit tests)
ECMAScript (JavaScript)
extracts face/slice/axis rotations, pieces, patterns and groups
Submitted by
FabioDiMonte
-
9 years ago
11
find all link(<a>) tags expect your links in href attribute
ECMAScript (JavaScript)
YourLink - not found AnotherLink - found
Submitted by
KoT
-
9 years ago
1
Sterium test
ECMAScript (JavaScript)
no description available
Submitted by
koT
-
9 years ago
1
one deccmal point
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
masked phone input validator
ECMAScript (JavaScript)
masked phone input validator
Submitted by
fermanakgun
-
9 years ago
0
Remove XML-Style Comments (JavaScript)
ECMAScript (JavaScript)
Exist a problem with simple regex in JS Solution from: https://www.safaribooksonline.com/library/view/regular-expressions-cookbook/9781449327453/ch09s10.html
Submitted by
Arkadiusz Sawicz
-
9 years ago
3
HH:MM:SS
ECMAScript (JavaScript)
Validates 00:00:00 to 23:59:59
Submitted by
anonymous
-
9 years ago
1
...
292
293
294
295
296
...
312
Bar Number
1
Regular Expression
ECMAScript (JavaScript)
/
^
(?=
^
20
)
(?=
(?:
.
{5}
|
.
{7}
)
)
/
Open regex in editor
Description
Length of 5 or 7.
if 7, it should start with 20.
Submitted by
Chris Roe
-
9 years ago