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 14,900 community submitted regex patterns...
0
GodZeus
ECMAScript (JavaScript)
Tha endgame
Submitted by
Karel fouco
-
3 years ago
0
Match a phone number formatted using North American Numbering Plan (NANP)
Python
More Details: https://exercism.org/tracks/python/exercises/phone-number
Submitted by
Nishant Misra
-
3 years ago
(Last modified 3 years ago)
0
Phone Column Matcher
ECMAScript (JavaScript)
phone column matcher
Submitted by
anonymous
-
3 years ago
0
Match all dots except last one
ECMAScript (JavaScript)
Match all dots except last one
Submitted by
sagarpanchal
-
3 years ago
0
Remove leading zeros (on the left) on ipv4 (ip v4)
ECMAScript (JavaScript)
Regex to remove leading (on the left) zeros on ipv4 (ip v4) Source: https://autohotkey.com/board/topic/15491-regex-to-strip-leading-zeroes-out-of-an-ip-address-octet/
Submitted by
YMP
-
3 years ago
0
Canadian Postal Code
ECMAScript (JavaScript)
The postal code is a six-character code defined and maintained by Canada Post Corporation (CPC) for the purpose of sorting and delivering mail. The characters are arranged in the form ‘ANA NAN’, where ‘A’ represents an alphabetic character and ‘N’ represents a numeric character (e.g., K1A 0T6). The ...
Submitted by
Jonathan Lafleur
-
3 years ago
0
Remove HTML tags from HTML string
ECMAScript (JavaScript)
Remove HTML tags from HTML string
Submitted by
hiroimono
-
3 years ago
1
Div shortcode [div]..[/div]
ECMAScript (JavaScript)
Converts the markdown shortcode for the dive element to the regular HTML: Example shortcode: [div id="bla" class="ups"]some multiple line text[/div]
Submitted by
Dux Linux
-
3 years ago
0
download file
ECMAScript (JavaScript)
get the name of download file
Submitted by
stefango
-
3 years ago
0
VALIDATE DOMAIN:PORT ADDRESS IN PYTHON3
Python
Port is optional
Submitted by
Avaray
-
3 years ago
0
url
PCRE (PHP <7.3)
match url
Submitted by
anonymous
-
3 years ago
0
正则表达式查找"key":"value"对
PCRE (PHP <7.3)
正则表达式查找"key":"value"对
Submitted by
hippopie
-
3 years ago
0
LinkedInURL Validation
ECMAScript (JavaScript)
It will validate linkedin profile url validation in client side. using javascript
Submitted by
Arumugam, MiPS
-
3 years ago
(Last modified 3 years ago)
0
Skype name
ECMAScript (JavaScript)
regex to match skype name
Submitted by
anonymous
-
3 years ago
0
iframe src url
ECMAScript (JavaScript)
Extract the URL (http(s) only) of a given iframe's src attribute.
Submitted by
Neill
-
3 years ago
(Last modified 3 years ago)
0
Validate CSS Names
PCRE (PHP <7.3)
Validate CSS Names
Submitted by
emed
-
3 years ago
0
Class atribute content
PCRE (PHP <7.3)
regular expression to pull all css classes from a html file.
Submitted by
emed
-
3 years ago
0
MR Title validation
Python
-
Submitted by
alkov
-
3 years ago
1
yyyy/mm/dd
Golang
^(((\d{3}[1-9]|\d{2}[1-9]\d|\d[1-9]\d{2}|[1-9]\d{3})(\/)(((0[13578]|1[02])(\/)(0[1-9]|[12]\d|3[01]))|((0[469]|11)(\/)(0[1-9]|[12]\d|30))|(02(\/)(0[1-9]|[1]\d|2[0-8]))))|(((\d{2})(0[48]|2468|13579)|((0[48]|2468|3579)00))(\/)02(\/)29))$ Match year/month/day format. e.g: 2020/02/29 [match] 2021/02/29 ...
Submitted by
mayl0421
-
3 years ago
0
dir_linux
Python
check dir is illegal or not
Submitted by
anonymous
-
3 years ago
1
...
68
69
70
71
72
...
745
Rest URL Param 2
0
Regular Expression
PCRE (PHP <7.3)
@
(?<=
/
)
{
(?<var>
[
a
-
z0
-
9_
]
+
)
:
?
(?<reg>
(?:
(?:
\[
{0,1}
[
\w\d
\-\\\.
/
]
+
\]
{0,1}
(?:
\+
|
\*
|
{
(?:
[
0
-
9
]
+
|
[
0
-
9
]
+
,
[
0
-
9
]
*
)
}
)?
)+
|
(?:
\(
{0,1}
[
\w\d
\-\\\.
/
\[\]
]
+
\)
{0,1}
(?:
\+
|
\*
|
{
(?:
[
0
-
9
]
+
|
[
0
-
9
]
+
,
[
0
-
9
]
*
)
}
)?
)+
)+
|)
}
(?=
\s
*
(?:
/
|
$
)
)
@
ixg
Open regex in editor
Description
no description available
Submitted by
Raphael Quintao
-
3 years ago
(Last modified 3 years ago)