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,600 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
分组
ECMAScript (JavaScript)
显示分组
Submitted by
Jason
-
a year ago
2022-04-08 04:24
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match Internal Links
ECMAScript (JavaScript)
Detect internal links in page
Submitted by
anonymous
-
a year ago
2022-04-10 11:33
(Last modified a year ago)
2022-04-10 12:11
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
-
a year ago
2022-04-10 12:24
(Last modified a year ago)
2022-04-10 14:06
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Match markdown link
ECMAScript (JavaScript)
Regex match markdown link
Submitted by
anonymous
-
a year ago
2022-04-11 07:40
(Last modified a year ago)
2022-04-11 07:46
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
WinSCP file list parse
ECMAScript (JavaScript)
Capture details of file sizes and names from a ls listing from WinSCP
Submitted by
anonymous
-
a year ago
2022-04-11 13:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
div change to button
ECMAScript (JavaScript)
div change to button
Submitted by
mtac
-
a year ago
2022-04-13 14:48
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Positive Integer
ECMAScript (JavaScript)
(/^\d{0,}(([.]{1})?\d?){0,}$/gi
Submitted by
Wasiu Ramoni
-
a year ago
2022-04-13 19:28
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Matches everything but digits and allows for one decimal point.
ECMAScript (JavaScript)
Matches everything but digits and allows for one decimal point. cannot start with a negative Allowed: 123...
Submitted by
Random Guy 70hz
-
a year ago
2022-04-13 19:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
QueryString and Datasource
ECMAScript (JavaScript)
asdasd
Submitted by
anonymous
-
a year ago
2022-04-14 09:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
pens
Python
testing
Submitted by
anonymous
-
a year 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
-
a year ago
2022-04-14 12:05
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Website Regex
ECMAScript (JavaScript)
Finds all website URLs
Submitted by
JohnnyJTH
-
a year ago
2022-04-14 19:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find email addresses
Golang
find email addresses
Submitted by
anon
-
a year ago
2022-04-15 18:57
(Last modified a year ago)
2022-04-15 19:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
原神圣遗物OCR副属性(中文简体)
Python
用于游戏“原神”的圣遗物OCR结果中的副属性识别
Submitted by
Wansn
-
a year 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
-
a year 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
-
a year 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
-
a year ago
2022-04-19 00:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
get teacher url
ECMAScript (JavaScript)
will match ^/teacher//list$ ^/teacher//file/$ ^/teacher//info/$ ...
Submitted by
anonymous
-
a year ago
2022-04-19 06:52
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Clean phone numbers
ECMAScript (JavaScript)
(204)555-5555 (204)-(555)-(5555) 204-555-5555 To: 2045555555
Submitted by
smitpatelx
-
a year ago
2022-04-19 17:27
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
-
a year ago
2022-04-19 19:41
(Last modified a year ago)
2022-04-19 19:42
1
...
247
248
249
250
251
252
253
...
280
user-agent
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
\(
(?<info>
.
*
?
)
\)
(
\s
|
$
)
|
(?<name>
.
*
?
)
\/
(?<version>
.
*
?
)
(
\s
|
$
)
/
gmuiys
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2020-12-23 13:02