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,680 community submitted regex patterns...
1
Bootstrap responsive grid class detection
ECMAScript (JavaScript)
Check if a css class is bootstrap responsive grid one (like col-sm-6 for example)
Submitted by
mrblackus
-
9 years ago
1
Date testing with 2 digit year
ECMAScript (JavaScript)
Date javascript
Submitted by
petabyte
-
9 years ago
1
Simple RegEx for SQL Field transformation
Python
no description available
Submitted by
sX
-
9 years ago
1
domain with .co.uk
ECMAScript (JavaScript)
Any domain written www.domain.co.uk
Submitted by
Byron Sargeant
-
9 years ago
1
Find Bootstrap Buttons
Python
Find all inputs and buttons with class btn.
Submitted by
anonymous
-
9 years ago
1
Find all Twitter Bootstrap Buttons
Python
Find all twitter bootstrap buttons with class "btn".
Submitted by
anonymous
-
9 years ago
1
urls ending with
ECMAScript (JavaScript)
Urls ending with a specific domain
Submitted by
anonymous
-
9 years ago
1
Don't know how to match this.
Python
no description available
Submitted by
Nick
-
9 years ago
1
Tutorial extracting url data
Python
http://regexone.com/problem/extracting_url_data
Submitted by
robi
-
9 years ago
1
gg
Python
no description available
Submitted by
anonymous
-
9 years ago
1
id
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
img
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Select all numbers greater than 36 (python)
Python
no description available
Submitted by
Mansoor
-
9 years ago
1
check password
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
Valid Email
ECMAScript (JavaScript)
This is the javascript equivalent that .NET uses in their server-side validators.
Submitted by
anonymous
-
9 years ago
1
Parcel ID (Michigan)
Python
REGEX validator for Parcel IDs. Works for Michigan but may for other states if their parcel IDs have form "00-00-00-00-000-000".
Submitted by
Lewis
-
9 years ago
1
Nuclear Exploit Kit
Python
Nuclear Exploit Kit Requested file
Submitted by
anonymous
-
9 years ago
1
f
Python
f
Submitted by
f
-
9 years ago
1
Line VTY
Python
Used to search line vty for exec
Submitted by
Hozenya
-
9 years ago
1
Find C# Namespace
ECMAScript (JavaScript)
Simple regex to find the Namespace line in a C# class.
Submitted by
Erik Bartlow
-
9 years ago
1
...
37
38
39
40
41
...
284
匹配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