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...
1
How to limit total number of characters of match
ECMAScript (JavaScript)
I need to match a pattern as follows with the added limitation that the match must be exactly 7 characters long: /^\d[a-zA-Z]\d$/ In words, this is a 7 character sequence of 6 digits and one alphabetic character in any order. How do I limit the overall length to 7 using regex? Thanks!
Submitted by
Andy S
-
10 years ago
1
Flask detectar variables en url
PCRE (PHP <7.3)
Esta expresión regular permite detectar las variables que están declaradas dentro de una url o route del framework Flask, con esto lo único que queda es armar un loop que recorra las coincidencias y que las remplace por los valores adecuados
Submitted by
Jerry Anselmi <https://github.com/ElMijo>
-
10 years ago
1
Regex to get video ID from Youtube links
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
deine regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
testing for a bloke
PCRE (PHP <7.3)
Parsing html with regex is bad though.
Submitted by
Iroh
-
10 years ago
1
MY RFC 5322 implementation
ECMAScript (JavaScript)
My RFC 5322 implementation for email validation with few limitation on top level domain name
Submitted by
DevJustWantHaveFun
-
10 years ago
1
test
Python
test
Submitted by
test
-
10 years ago
1
Alternatvie Country Code Capture
Python
no description available
Submitted by
Branden
-
10 years ago
1
Google plus post regex
PCRE (PHP <7.3)
Retrieve username or user id and post id, example urls: https://apis.google.com/u/0/wm/1/118176280023244994777/posts/4q6esduuinn https://plus.google.com/+Username/posts/4q6ezduuinn https://plus.google.com/118176280323144994777/posts/4q6ezduuinn
Submitted by
Misthero
-
10 years ago
1
Ja som's regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
big apple is fool
ECMAScript (JavaScript)
no description available
Submitted by
litianzhao
-
10 years ago
1
Пошук Ñмайлів
PCRE (PHP <7.3)
ПроÑтенька демР¾Ð½ÑÑ‚Ñ€Ð°Ñ†Ñ–Ñ Ð¿Ð¾ÑˆÑƒÐºÑƒ Ñмайлів за допомогою регулÑрних виразів
Submitted by
КоÑÑ‚Ñ Ð¢Ñ€ÐµÑ‚Ñк
-
10 years ago
1
match any email address in list
PCRE (PHP <7.3)
no description available
Submitted by
cloneman
-
10 years ago
1
rvewr
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
overlapping regex, small test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
aaa
PCRE (PHP <7.3)
vvv
Submitted by
anonymous
-
10 years ago
1
Numer telefonu
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
10 years ago
1
win path
PCRE (PHP <7.3)
no description available
Submitted by
Dragan
-
10 years ago
1
Extract video code from YouTube URL
ECMAScript (JavaScript)
no description available
Submitted by
@uimanwashere
-
10 years ago
1
Achar dominios
PCRE (PHP <7.3)
no description available
Submitted by
BrineDev
-
10 years ago
1
...
76
77
78
79
80
...
901
Community Library Entry
0
Regular Expression
PCRE2 (PHP >=7.3)
/
^
(
\+
){0,1}
254
(
77
)
(
\d
{7}
)
$
/
gm
Open regex in editor
Description
MSISDN_VALIDATE_KENYA_TELKOM
Submitted by
tim-engnz
-
2 years ago