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 2,280 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
substitute python comment
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-05-30 14:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
GQL statement capturer
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-06-01 03:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Airtel Unlimited Plan
Python
Airtel Unlimited Plan
Submitted by
starkm42
-
2 years ago
2022-04-04 05:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Remove Trailing Number
Python
Regex for the gvsbuild tool to remove a trailing number from a project name.
Submitted by
anonymous
-
2 years ago
2022-04-10 12:24
(Last modified 2 years ago)
2022-04-10 14:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
pens
Python
testing
Submitted by
anonymous
-
2 years ago
2022-04-14 10:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
71871164
Python
Stack overflow example
Submitted by
anonymous
-
2 years ago
2022-04-14 12:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
原神圣遗物OCR副属性(中文简体)
Python
用于游戏“原神”的圣遗物OCR结果中的副属性识别
Submitted by
Wansn
-
2 years ago
2022-04-16 02:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Phone number regex
Python
REGEX to test various phone numbers
Submitted by
Drew Recker
-
2 years ago
2022-04-18 03:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
#value # value
Python
account for comments
Submitted by
anonymous
-
2 years ago
2022-04-18 18:03
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
CVE-2021-31805 (s2-062)
Python
\%[\s|\\r|\\n]\{[\s|\\r|\\n](?:[\s|\\r|\\n]*\(\#+\=+\)\.)
Submitted by
anonymous
-
2 years ago
2022-04-19 00:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
LinkTree
Python
just to find linktree links in poirot
Submitted by
anonymous
-
2 years ago
2022-04-19 19:41
(Last modified 2 years ago)
2022-04-19 19:42
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
OS正则表达式
Java 8
zzx
Submitted by
zzx
-
2 years ago
2022-04-20 12:38
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
DB
Java 8
DB
Submitted by
DB
-
2 years ago
2022-04-20 12:43
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
matlab代码
Python
matlab代码
Submitted by
java
-
2 years ago
2022-04-21 02:19
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
括号匹配
Java 8
(\[]\])|(【】)|(())|(\(\))
Submitted by
nasion
-
2 years ago
2022-04-21 11:27
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MyRegex
Python
"(\d+年\d+月\d+日).新增本土.确诊病例(\d+)例.无症状感染者(\d+)例.其中(\d+)例确诊病例为此前无症状.,(\d+)例确诊病例和(\d+)例无症状感染者.相关风险人群排查中发现"
Submitted by
Mark
-
2 years ago
2022-04-22 14:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find const string in code for xml/java
Python
.
Submitted by
anonymous
-
2 years ago
2022-04-24 09:22
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
IP Address
Java 8
IP Address RegEx
Submitted by
anonymous
-
2 years ago
2022-04-24 15:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
The list of Android permissions with their severity
Python
Find all Android permissions with their severity in HTML source code of google documentation.
Submitted by
Alticore (Antoine ADAM: https://github.com/Antoine-ADAM)
-
2 years ago
2022-04-25 14:11
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
匹配#结尾的电话号码和手机
Java 8
匹配#结尾的电话号码和手机
Submitted by
Leo
-
2 years ago
2022-04-26 03:23
1
...
94
95
96
97
98
99
100
...
114
#结尾的电话匹配
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Java 8
"
(
\d
*
#
\D
)
|
(
\d
*
#
^
)
"
mg
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
2 years ago
2022-04-26 14:20