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,640 community submitted regex patterns...
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)
Website Regex
ECMAScript (JavaScript)
Finds all website URLs
Submitted by
JohnnyJTH
-
2 years 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
-
2 years ago
2022-04-15 18:57
(Last modified 2 years 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
-
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)
get teacher url
ECMAScript (JavaScript)
will match ^/teacher//list$ ^/teacher//file/$ ^/teacher//info/$ ...
Submitted by
anonymous
-
2 years 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
-
2 years 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
-
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)
cri logfmt
Golang
The CRI expr will match and parse log lines of this format: 2019-01-01T01:00:00.000000001Z stderr P some log message `
Submitted by
east4ming
-
2 years ago
2022-04-21 01:59
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)
Default HTML5 with German Umlauts
ECMAScript (JavaScript)
Adds german special characters äöüß to the default HTML5 regex
Submitted by
mroettgen
-
2 years ago
2022-04-21 08:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
JavaScript Parse CSS Selector
ECMAScript (JavaScript)
Parse CSS Selector in the form element#id.class into its components. Any of the three elements can be missing.
Submitted by
Mark
-
2 years ago
2022-04-22 06:39
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)
Get First Name
ECMAScript (JavaScript)
Grab a first name from a full name string
Submitted by
Tom
-
2 years ago
2022-04-22 17: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)
RGB 256 Function Notation
ECMAScript (JavaScript)
Standardized RGB 256 Notation for CSS Functions. For Example: const str = "255, 255, 255"; // Match const str = "0, 10, 200"; // Match...
Submitted by
anonymous
-
2 years ago
2022-04-25 09:33
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
1
...
249
250
251
252
253
254
255
...
282
File Size Parsing Pattern
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
(?<pre>
\D
*
?
)
(?<num>
\d
*
\.
\d
+
|
\d
+
\.
\d
*
|
\d
+
)
(?<sp>
\s
*
?
)
(?<units>
.
*
?
)
$
/
mg
Open regex in editor
Description
Loading markdown...
Submitted by
Vincent Engler
-
2 years ago
2022-05-05 17:45