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...
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Extract parts of a URL on Python
Python
Extract parts of a URL on Python
Submitted by
dixanms
-
2 years ago
2022-02-02 23:27
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Lua Enhanced: +=
Python
Adds += to Lua.
Submitted by
anonymous
-
2 years ago
2022-02-20 11:15
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Python regular expression to detect any type of group link and private channel in Telegram
Python
You can use this regular expression to identify any type of Telegram link. It doesn't matter whether it is t.me or telegram.me. Links including "joinchat" are also accepted.
Submitted by
Telegram : T.me/TinyPY
-
4 months ago
2023-07-23 15:57
(Last modified 4 months ago)
2023-07-24 15:49
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
Mikrotik firewall logs
Golang
Matching for mikrotik ROS 7 Used in promtail and grafana
Submitted by
anonymous
-
4 months ago
2023-08-11 19:09
(Last modified 4 months ago)
2023-08-11 21:09
1
14 upvotes, 13 downvotes (score 34%) (You must be signed in to vote)
Regular expression to remove all puncutation
Python
Removes all of the puncutation present inlcuding \n,\t,\r
Submitted by
Abhinav Gupta
-
9 years ago
2014-06-20 07:18
2
7 upvotes, 5 downvotes (score 32%) (You must be signed in to vote)
postgesql
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-08-11 09:45
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Palabras en mayúscula que no están después de un punto
Python
no description available
Submitted by
anonymous
-
10 years ago
2014-04-18 16:57
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Parasite subtitles
Python
no description available
Submitted by
Andrey Spiridonov
-
10 years ago
2014-05-19 18:38
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
python regex
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-09-05 20:18
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Capture 5 words either side of a match string
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-11-28 04:37
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
Match 5 forward slashes
Python
Match 5 forward slashes
Submitted by
anonymous
-
9 years ago
2015-04-16 23:13
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
IPv4 Validator
Python
no description available
Submitted by
dannyo
-
8 years ago
2015-09-10 08:17
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
SED
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-11-12 15:42
2
3 upvotes, 1 downvotes (score 30.1%) (You must be signed in to vote)
match those lines whose first n chars contains 1+ non numeric
Python
1100582367|SDFDSFDSFDSFDSFDF GBC213WREW|RWEFSDFSDF 1100582377|DSFDSFDSFDSF 2NDG.S.D BIKADSFDSFDSFNO.421 1100582387|SDFSDFSDFDSF
Submitted by
sid
-
8 years ago
2016-04-05 20:01
2
4 upvotes, 2 downvotes (score 30%) (You must be signed in to vote)
Find any digits in string
Python
no description available
Submitted by
anonymous
-
9 years ago
2015-04-11 11:31
1
7 upvotes, 6 downvotes (score 29.1%) (You must be signed in to vote)
Parse a HTML URL
Python
Break a URL into parts: protocol url path get parameters hash
Submitted by
Dale O'Brien
-
10 years ago
2014-05-22 23:07
1
7 upvotes, 6 downvotes (score 29.1%) (You must be signed in to vote)
dd/mm/yyyy validation regexp
Python
no description available
Submitted by
uknnown
-
8 years ago
2015-09-17 10:54
1
6 upvotes, 5 downvotes (score 28%) (You must be signed in to vote)
REGEX
Python
no description available
Submitted by
anonymous
-
9 years ago
2015-04-04 13:58
1
5 upvotes, 4 downvotes (score 26.7%) (You must be signed in to vote)
IPv4 extraction
Python
no description available
Submitted by
Jacob
-
10 years ago
2014-04-04 13:05
1
5 upvotes, 4 downvotes (score 26.7%) (You must be signed in to vote)
quoted string in VB.net format
Python
Get all strings in vb.net format (even nested quotes"
Submitted by
Alan Moore (http://stackoverflow.com/questions/2148587/finding-quoted-strings-with-escaped-quotes-in-c-sharp-using-a-regular-expression) modified by j
-
10 years ago
2014-05-20 11:06
1
2
3
4
5
6
7
...
114