Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Social
Join the Discord community!
Follow me on twitter!
Send me an email
Donate
Donate
Donate through Paypal
Become a Github Sponsor
Info
Info
Find out what's new!
RegEx101 Wiki
Report bugs or make suggestions
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Community Patterns
Community Patterns
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Get help on Discord
Get help on IRC
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 (C#)
Rust
Sponsors
Community Patterns
Search among 5,620 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Society6.com with specific SKU in URL
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-03 21:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password mask
ECMAScript (JavaScript)
Matches valid passwords that require letters, numbers and special characters that do not start or end with spaces.
Submitted by
anonymous
-
4 years ago
2019-12-04 02:54
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Private IP v4 Address
ECMAScript (JavaScript)
Validate IP addresses matching those specified in https://tools.ietf.org/html/rfc1918
Submitted by
anonymous
-
4 years ago
2019-12-04 12:08
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
/^bingpla-/
ECMAScript (JavaScript)
bingpla- 广告
Submitted by
anonymous
-
4 years ago
2019-12-05 06:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Negative lookahead
Python
no description available
Submitted by
anonymous
-
4 years ago
2019-12-11 10:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CPU
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-13 11:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Amundi Épargne Salariale
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-13 11:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Indonesia Phone Number
ECMAScript (JavaScript)
Remove the country code or zero leading for Indonesia phone number This regex only read numeric, didn't include any symbol like '+'
Submitted by
Blackjack100
-
4 years ago
2019-12-13 12:09
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
special characters check
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-02 14:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Website URL Validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-16 13:37
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email verification
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-14 10:56
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password validation 8
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-16 13:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Number and text validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2019-12-16 13:57
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Data_Download_Investigator
Python
For investigatorLastRegulatoryAction
Submitted by
anonymous
-
4 years ago
2019-12-17 09:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Data_Download_Investigator
Python
For investigatorLastRegulatoryAction
Submitted by
anonymous
-
4 years ago
2019-12-17 11:47
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配合法的变量名
Python
\b[a-zA-Z_]\w+
Submitted by
anonymous
-
4 years ago
2019-12-18 12:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
正则式的命名和反向引用
Python
(?P(\w+\s+))(?P=dup)
Submitted by
anonymous
-
4 years ago
2019-12-18 13:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
提取有效小数,如果是0,则只保留1个0
Python
no description available
Submitted by
anonymous
-
4 years ago
2019-12-18 15:16
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Password validation 8 character
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-14 12:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Data_Download_Investigator
Python
For investigatorLastRegulatoryAction_Action_Date
Submitted by
anonymous
-
4 years ago
2019-12-19 06:31
1
...
227
228
229
230
231
232
233
...
281
import url image
4
4 upvotes, 0 downvotes (score 51%) (You must be signed in to vote)
Regular Expression
Python
r"
(?:
http:
\/\/
)
(
.
*
?
)
\/
(
.
+
?
)
(?:
\/
|
\?
|
\#
|
$
|
\n
)
\w
*
.
jpg
"
g
Open regex in editor
Description
Loading markdown...
Submitted by
bartimeys
-
8 years ago
2015-12-18 08:44