Please enable JavaScript to use regex101
Regular
Expressions
101
Support Regex101
Social
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP)
ECMAScript (JavaScript)
Python
Golang
Java
.NET 7.0 (C#)
Rust
PCRE (Legacy)
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 2,160 community submitted regex patterns...
83
Distinguish torrent files (series vs movies)
Created
·
2014-06-26 09:59
Updated
·
2023-07-20 15:08
Flavor
·
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 previously matched.
Submitted by
Firas Dib
3
phone
Created
·
2015-05-07 17:14
Flavor
·
Python
matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by
miqui
9
Extract Protocol, URL, URL Path, get parameters and hash from URI
Created
·
2014-05-22 23:34
Flavor
·
Python
This is simplified from my last submission.
Submitted by
Dale O'Brien
7
CSS Import
Created
·
2014-05-03 00:51
Flavor
·
Python
no description available
Submitted by
anonymous
9
domain - host
Created
·
2015-09-29 17:50
Flavor
·
Python
no description available
Submitted by
anonymous
1
Regular expression to remove all puncutation
Created
·
2014-06-20 07:18
Flavor
·
Python
Removes all of the puncutation present inlcuding \n,\t,\r
Submitted by
Abhinav Gupta
12
Find Reddit Threads
Created
·
2015-03-12 09:23
Flavor
·
Python
Simply searches for the thread-id in any kind of valid reddit-URL.
Submitted by
Mio
8
repeat group match
Created
·
2015-07-24 21:02
Flavor
·
Python
no description available
Submitted by
anonymous
11
extract subdomain(if available) or domain from URL
Created
·
2016-04-08 13:05
Flavor
·
Python
This regex should extract the subdomain, if any, or the domain, if no subdomain is used, from an arbitrary URL
Submitted by
trevi@twanda.com
12
Conventional Commits validation
Created
·
2022-01-03 20:30
Updated
·
2022-04-05 20:20
Flavor
·
Python
This regex prevents the writing of non-standard conventional commits. I'm available on my github
Submitted by
Krisque
9
English date in "dd mmmm yyyy" format
Created
·
2015-05-18 19:41
Flavor
·
Python
Parse an English date following the "dd mmmm yyyy" format.
Submitted by
Tantale
10
entity
Created
·
2015-11-20 01:12
Flavor
·
Python
no description available
Submitted by
anonymous
4
Complete imgur link regex
Created
·
2015-03-13 11:26
Flavor
·
Python
This regex grabs all kinds of imgur links and groups them in meaningful names aswell. This way you have full flow-control in your python-scripts.
Submitted by
Mio
3
date time
Created
·
2014-01-29 03:45
Flavor
·
Python
1/Jul/2013 03:27:12
Submitted by
himel
7
SO: fail2ban regular to find 403 request in nginx
Created
·
2014-09-15 11:32
Updated
·
2023-07-27 20:59
Flavor
·
Python
http://stackoverflow.com/q/25778420/2072035
Submitted by
anonymous
7
IOS3166 Country Code Identification REGEX
Created
·
2015-06-07 04:48
Flavor
·
Python
IOS3166 Country Code Identification REGEX
Submitted by
theitgeek@recu.org.uk
5
Find consecutive duplicate words
Created
·
2015-08-31 22:17
Flavor
·
Python
no description available
Submitted by
anonymous
1
Parse a HTML URL
Created
·
2014-05-22 23:07
Flavor
·
Python
Break a URL into parts: protocol url path get parameters hash
Submitted by
Dale O'Brien
3
Twitch URL Regex
Created
·
2015-03-15 12:53
Flavor
·
Python
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
2
postgesql
Created
·
2015-08-11 09:45
Flavor
·
Python
no description available
Submitted by
anonymous
Previous page
1
2
3
…
108
Next page
Community Library Entry
0
Regular Expression
Created
·
2017-11-23 13:55
Flavor
·
ECMAScript (JavaScript)
/
^
(
8058
|
5899
|
5898
|
6010
|
6018
|
6014
|
6063
)
[
0
-
9
]
{10,15}
/
g
Open regex in editor
Description
no description available
Submitted by
anonymous