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 4,500 community submitted regex patterns...
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
ipv4
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-06-10 07:56
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
Timecode
Python
Regex to match standard timecode format. (Updated with fewer groups).
Submitted by
Travis
-
8 years ago
2015-06-10 07:41
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Timecode
Python
Regex to match standard timecode format.
Submitted by
Travis
-
8 years ago
2015-06-10 01:19
5
5 upvotes, 0 downvotes (score 56.6%) (You must be signed in to vote)
IOS3166 Country Code Identification REGEX
Python
IOS3166 Country Code Identification REGEX
Submitted by
theitgeek@recu.org.uk
-
8 years ago
2015-06-07 04:48
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
suricata OSSIM regex-1
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-06-03 19:38
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Substitution not wokring
Python
For python regex, substiution not working properly. It is not replcing matched content of $1... and so on. Please take a look.
Submitted by
anonymous
-
8 years ago
2015-06-01 09:19
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
UAE Phone Numbers
Python
no description available
Submitted by
Sebastian
-
8 years ago
2015-05-30 22:22
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
StackOverflow 30430783
Python
no description available
Submitted by
Honza Osobne
-
9 years ago
2015-05-25 20:33
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
phanindra.vaga.ranama
Python
sdf
Submitted by
asdf
-
9 years ago
2015-05-25 13:29
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Remove double-slash comments
Python
This regex removes double-slash comments while avoiding anything between 'quotes' or "double quotes".
Submitted by
jlacroix
-
9 years ago
2015-05-21 19:30
0
1 upvotes, 1 downvotes (score 9.5%) (You must be signed in to vote)
Finnsih date with the "dd mmmm yyyy" format
Python
Parse a Finnish date with de "dd. mmmm yyyy" or "dd.mm.yyyy" format.
Submitted by
Tantale
-
9 years ago
2015-05-18 19:44
9
12 upvotes, 3 downvotes (score 54.8%) (You must be signed in to vote)
English date in "dd mmmm yyyy" format
Python
Parse an English date following the "dd mmmm yyyy" format.
Submitted by
Tantale
-
9 years ago
2015-05-18 19:41
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Bulgarian date "dd mmmm yyyy" format
Python
Parse a bulgarian date following the "dd mmmm yyyy" format.
Submitted by
Tantale
-
9 years ago
2015-05-18 19:39
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Long slovak date with the "dd. mmmm yyy" format
Python
Match a slovak date following the "dd. mmmm yyy" format.
Submitted by
Tantale
-
9 years ago
2015-05-18 19:32
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
MySQLcase
Python
make sure mysql tables have the correct form
Submitted by
d
-
9 years ago
2015-05-14 19:50
0
2 upvotes, 2 downvotes (score 15%) (You must be signed in to vote)
test
Python
test
Submitted by
boag
-
9 years ago
2015-05-12 00:08
3
33 upvotes, 30 downvotes (score 40.3%) (You must be signed in to vote)
phone
Python
matches: + example: +52 33 3884 7720 +1 770 343 5788
Submitted by
miqui
-
9 years ago
2015-05-07 17:14
1
3 upvotes, 2 downvotes (score 23.1%) (You must be signed in to vote)
postfix
Python
get ip identifier, queue name, email domain and status from postfix log
Submitted by
kglod
-
9 years ago
2015-05-07 11:21
1
4 upvotes, 3 downvotes (score 25%) (You must be signed in to vote)
States
Python
States (US) 2 char format, matches: Ga or GA
Submitted by
miqui
-
9 years ago
2015-05-06 17:38
1
2 upvotes, 1 downvotes (score 20.8%) (You must be signed in to vote)
Get path from URL
Python
extract the path from a URL returns one group (if matching) with the path info e.g. http://somedomain.com/some-page/ http://www.domain.com:8080/some-page/ https://www.google.com:8080/some-page/...
Submitted by
luke_aus
-
9 years ago
2015-05-05 11:47
1
...
217
218
219
220
221
222
223
...
225
Regex para Versión de Software
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Regular Expression
Python
r"
(
(
\d
+
\.
)+
\d
*
)
"
gm
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
6 months ago
2023-06-06 17:11