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,460 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
URL query param
Python
A solution for capture set/unset/catch a value of param query of URLs. Here is a example code that applies this pattern in JS, but JS doesn't have support to lookbehind.
Submitted by
Rafael Laurindo
-
7 years ago
2016-10-04 01:22
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Thorough UK Postcode Validator with In/Out code capture groups
Python
A more thorough UK postcode validator tested against all UK postcodes on a regular basis, but excluding the special GIRO postcode case out of personal preference. Additionally has capture groups for the In-code and Out-code sections. Requires case insensitive matching.
Submitted by
Chris G
-
7 years ago
2016-09-30 15:51
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Facebook embedded video
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-09-28 09:59
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Todo.txt line pattern (Custom)
Python
I customized the todo.txt (see todotxt.com) normal formatting. Here is how mine works: Priority Due_Date Project#progressive_number Start_date^repeat_every Job Contexts Tags Here is an example: (A) 2016-05-24 +projectA#4 $2015-11-30^2M My todo job @context_foo @context_bar &WAIT &ANOTHER_TAG I wante...
Submitted by
Francesco Tosello
-
7 years ago
2016-09-25 21:25
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
WoW Screenshot
Python
If you need to rename it
Submitted by
anonymous
-
7 years ago
2016-09-25 14:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
MML
Python
no description available
Submitted by
Aron
-
7 years ago
2016-09-23 10:00
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
capital of
Python
no description available
Submitted by
Shebin
-
7 years ago
2016-09-23 09:16
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
fail2ban roundcube debian8 jessie /var/log/roundcube/errors
Python
no description available
Submitted by
Daniel Bañobre
-
7 years ago
2016-09-22 17:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
RipNameFromEmail
Python
handles quotes, non-quotes, angle bracket, parans, and trips extra white spaces
Submitted by
dano
-
7 years ago
2016-09-22 00:38
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Lib
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-09-21 12:20
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
fail2ban 0.8.13-1 Debian 8 Jessie Roundcube 1.1.5+dfsg.1-1~bpo8+1
Python
Filter authentication fails from /var/log/roundcube/error
Submitted by
Daniel Bañobre Dopico el profe
-
7 years ago
2016-09-17 08:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Localiza E-mail
Python
Log de postfix, localiziando e-mail (from e to).
Submitted by
Danilo Kishi
-
7 years ago
2016-09-13 22:51
2
2 upvotes, 0 downvotes (score 34.2%) (You must be signed in to vote)
.*(\d+).* Selects last number
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-09-13 20:27
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
pwl repo titles
Python
no description available
Submitted by
Devin McGloin
-
7 years ago
2016-09-12 00:02
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
URL matched
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-09-09 04:08
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
MAC ADDRESS
Python
no description available
Submitted by
abaumann
-
7 years ago
2016-09-08 15:11
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Cross Reference Regex for SFM
Python
SFM 2.4
Submitted by
anonymous
-
7 years ago
2016-09-07 15:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Footnote Regex for SFM
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-09-07 15:48
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
authproc1_auth01_2
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-09-07 10:02
3
3 upvotes, 0 downvotes (score 43.8%) (You must be signed in to vote)
Email
Python
Python
Submitted by
anonymous
-
7 years ago
2016-09-07 03:55
1
...
93
94
95
96
97
98
99
...
123
Regex to Match Valid Hex Color Values in CSS
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Python
r"
[
\w
:,
]
+
(
#
(?:
[
a
-
fA
-
F0
-
9
]
{3}
|
[
a
-
fA
-
F0
-
9
]
{6}
)
)
\b
"
g
Open regex in editor
Description
Loading markdown...
Submitted by
Prayash Mohapatra
-
7 years ago
2016-08-17 20:17