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 17,260 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Github dark theme regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-12 22:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
lkker-cos
Golang
no description available
Submitted by
anonymous
-
4 years ago
2020-01-13 08:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Words in greek
PCRE (PHP <7.3)
Simples expression to match any words in Greek or Ancient Greek.
Submitted by
anonymous
-
4 years ago
2020-01-13 15:41
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Include homepage URL and UTMs but exclude all other pages
PCRE (PHP <7.3)
Useful for GTM if you want to set up a trigger that only fires on homepage (or to use the ReGex does not Equal option to exclude the homepage..) The key thing is this will also include UTM params.
Submitted by
anonymous
-
4 years ago
2020-01-13 15:58
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Mermaid parse field text
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-13 22:45
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Email Validation
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-02-04 08:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK Landline Number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-14 13:12
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
regex for copper tif files
Python
https://regex101.com/r/zNfvGn/1
Submitted by
anonymous
-
4 years ago
2020-01-14 21:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sales upload examples, fix for supporting pre-ecma2018 standard browser
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-15 02:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
us
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-15 08:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
UK generic tel no
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-15 08:59
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
extract ac code from fasta headers
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-01-15 13:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Nginx Log Parsing
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-15 19:10
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
SSL Cert name/value parser
PCRE (PHP <7.3)
Used to spllit lines of an SSL cert into name/value pairs
Submitted by
anonymous
-
4 years ago
2020-01-15 16:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
All Words Uppercase
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-15 18:25
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Find all letters and numbers and - in each line after the first - is encountered. Semantic Versioning 2.0.0 find everything after patch version
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-16 00:07
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
any number
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
4 years ago
2020-01-16 15:17
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Networking Parser - Command (show http-server) - Platform (Cisco Nexus Switch)
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-01-16 16:01
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Networking Parser - Command (show feature) - Platform (Cisco Nexus Switch)
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-01-16 16:04
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Networking Parser - Command (show ip interface brief) - Platform (Cisco Switches/Routers)
Python
no description available
Submitted by
anonymous
-
4 years ago
2020-01-16 16:07
1
...
713
714
715
716
717
718
719
...
863
weighted average
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Python
r"
^
weight
.
+
average
.
+
(
\n.
+
){0,2}
(
share
|
basic
|
ordinary
)
.
+
(?P<d1>
\s
[
\d
,
]
+
)
\s
+
(?P<d2>
\s
[
\d
,
]
+
)
"
gmi
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
3 years ago
2020-07-27 10:52