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
Community Patterns
Search among 5,660 community submitted regex patterns...
0
Find element with specific attribute (supports multiline element)
ECMAScript (JavaScript)
This will help you find all the v-btn component usage with prop color set to primary.
Submitted by
anonymous
-
2 years ago
0
Matching %d-%b date format
Python
Matching %d-%b date format with or without leading 0 in the day
Submitted by
Justin Copeland
-
2 years ago
0
变成一行
ECMAScript (JavaScript)
把代码变成一行一个属性
Submitted by
naoyuyan
-
2 years ago
0
Find Duplicate Characters in String
ECMAScript (JavaScript)
Given a string, find the duplicate characters.
Submitted by
Matthew Hiebing
-
2 years ago
0
cookie parser
ECMAScript (JavaScript)
Parser for cookies; works in HTTP servers AND front end
Submitted by
lopste / Vercte
-
2 years ago
0
BIN ELO - 2022
ECMAScript (JavaScript)
Used to validate credit cards from ELO flag.
Submitted by
Searched in internet
-
2 years ago
0
匹配邮箱
Golang
[A-Za-z0-9]+@[a-zA-Z0-9_-]+(\.[a-zA-Z0-9_-]+) `
Submitted by
Lintao
-
2 years ago
0
完形填空答案提取
Python
提取并分组: 题号 ABCD四个答案
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Mez regex #3
ECMAScript (JavaScript)
This is the #3 regex used in Mez
Submitted by
anonymous
-
2 years ago
0
Bracket finder ( Mez regex #2 )
ECMAScript (JavaScript)
This is the #2 regex used in Mez
Submitted by
anonymous
-
2 years ago
0
Mez regex #1
ECMAScript (JavaScript)
This is the #1 regex used in Mez
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
0
Url handling
Python
Simple regex to split url
Submitted by
Hangfish
-
2 years ago
1
Notes in markdown with underscore
ECMAScript (JavaScript)
I use it to find mark down note that I wrote with an _when I meant to use an *
Submitted by
charliecalvert
-
2 years ago
0
Mikrotik Regex Firewall Log Golang
Golang
Regex para uso com Grafana Loki Log feito via Mangle, com prefix $user do freeradius.
Submitted by
Vitor Abbade
-
2 years ago
1
Match HMTL/WXML tag and class
ECMAScript (JavaScript)
Match HMTL/WXML tag and class
Submitted by
ice breaker
-
2 years ago
0
FIrst or Last Name
ECMAScript (JavaScript)
Validates a first or last name of an user. Positives: Anna Anna-Louisa Anna Louisa...
Submitted by
Iris
-
2 years ago
0
regex expression to DateTime checking in YYYY-MM-DDTHH:MM:SS[+/-]HH:SS
Python
/(^((\d{4}-(((0[13578]|1)-(0[1-9]|[1-2]\d|3[01]))))|((\d{4}-(((0[469]|1)-(0[1-9]|[1-2]\d|3)))))|((\d{4}-(0[2]-(0[1-9]|[1-2]\d)))))T(([01]\d|2[0-3]):([0-5]\d):([0-5]\d))?(+-\d:[0-5]\d)$)/gm
Submitted by
anonymous
-
2 years ago
(Last modified 9 months ago)
0
UA phone number
ECMAScript (JavaScript)
check ua phone number
Submitted by
anonymous
-
2 years ago
(Last modified 2 years ago)
1
array path
ECMAScript (JavaScript)
Extract the array path from a nested path
Submitted by
anonymous
-
2 years ago
0
Comprobar fecha
ECMAScript (JavaScript)
^(?:3[01]|12|0?[1-9])([\-/.])(0?[1-9]|1[1-2])\1\d{4}$
Submitted by
anonymous
-
2 years ago
1
...
36
37
38
39
40
...
283
匹配npm源地址
0
Regular Expression
ECMAScript (JavaScript)
/
(?<oldDomain>
https
?
:
\/\/
(?:
registry
.
yarnpkg
.
com
|
registry
.
npmjs
.
org
|
[^
\/
]
+
)
)
\/
(?<pkgFullName>
(?:
(?<scopeName>
@
[
\w
-
]
+
)
(?:
\/
|
%2f
)
)?
(?<pkgName>
[
\w
-
]
+
)
)
\/
(?:
-
|
download
)
\/
[^
#
]
+
-
(?<version>
[
\w
\.
]
+
?
)
\.
(?<fileExt>
\w
+
)
#
(?<hash>
\w
*
)
/
g
Open regex in editor
Description
替换为淘宝npm
https://r.npm.taobao.org/$2/-/$2-$5.$6#$7
Submitted by
anonymous
-
4 years ago