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
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
Remove litteral \n
Python
This regex remove \n like litteral string not a newline
Submitted by
Nkio
-
9 years ago
2014-07-07 11:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
torstatus.blutmagie.de list parser
Python
parse most column for tor exit nodes.
Submitted by
bandoche
-
9 years ago
2014-07-04 05:51
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
xbmc - videodevil - chaturbate - test
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-06-28 16:05
81
178 upvotes, 97 downvotes (score 58.9%) (You must be signed in to vote)
Distinguish torrent files (series vs movies)
Python
A neat regex for finding out whether a given torrent name is a series or a movie. Returns the full name of the series with the separator needed to make it pretty (ie, replace it with space or what you want). Also returns the season number or the year for the movie/series, depending on what was prev...
Submitted by
Firas Dib
-
9 years ago
2014-06-26 09:59
(Last modified 5 months ago)
2023-07-20 15:08
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
0
4 upvotes, 4 downvotes (score 21.5%) (You must be signed in to vote)
Find email address in a string.
Python
no description available
Submitted by
anonymous
-
9 years ago
2014-06-11 17:57
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Fix Spanish Quote Marks
Python
Adds a ¿, for ¡ replace the last ? for !
Submitted by
paconaranjo
-
10 years ago
2014-06-06 18:35
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
how I retrieve the domain without www or other cruft
Python
no description available
Submitted by
bronsen
-
10 years ago
2014-05-28 13:29
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
example
Python
group matching
Submitted by
anonymous
-
10 years ago
2014-05-23 03:46
7
30 upvotes, 23 downvotes (score 43.3%) (You must be signed in to vote)
Extract Protocol, URL, URL Path, get parameters and hash from URI
Python
This is simplified from my last submission.
Submitted by
Dale O'Brien
-
10 years ago
2014-05-22 23:34
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
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
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
almost any similar word
Python
no description available
Submitted by
anonymous
-
10 years ago
2014-05-20 09:12
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Words that start with...
Python
no description available
Submitted by
anonymous
-
10 years ago
2014-05-20 05:55
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
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Path to devices
Python
no description available
Submitted by
Airam
-
10 years ago
2014-05-16 00:05
7
20 upvotes, 13 downvotes (score 43.7%) (You must be signed in to vote)
CSS Import
Python
no description available
Submitted by
anonymous
-
10 years ago
2014-05-03 00:51
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
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
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
waypoints
Python
Text fields describing a name and positions
Submitted by
bruno.piguet@meteo.fr
-
10 years ago
2014-03-24 21:37
1
...
110
111
112
113
114