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,480 community submitted regex patterns...
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
sort3
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-11-04 15:15
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Check a date in an invoice
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-11-03 16:33
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
()
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-11-03 13:26
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Siebel Id
Golang
no description available
Submitted by
anonymous
-
7 years ago
2016-11-03 10:39
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
Exclude free emails
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-10-27 22:40
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
MAC address
Python
6 pairs of hexadecimal characters separated by either 5 dashes, or 5 colons, or no separators at all. Mixture of separators not allowed.
Submitted by
anonymous
-
7 years ago
2016-10-27 09:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
find system identifiers/account (uuid, NetBios, etc.)
Python
uuid, Windows Accounts (NetBios), etc.
Submitted by
anonymous
-
7 years ago
2016-10-26 23:44
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
identify service accounts
Python
identify service accounts by common nomenclature types
Submitted by
Goran Biljetina
-
7 years ago
2016-10-26 23:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Full URLs (by dpmontero.es)
Python
Get all URLs: www.lapagina.com pagina.com http://www.lapagina.com http://pagina.com https://www.lapagina.es
Submitted by
anonymous
-
7 years ago
2016-10-21 09:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Extract all telephones in text
Python
Find all telephones in text: 968123123 968 123 123 968.123.123 968 12 12 12
Submitted by
anonymous
-
7 years ago
2016-10-21 08:02
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PostfixParserMinimal
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-10-20 11:53
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
PostfixParser
Python
Full regex for failed sendings
Submitted by
anonymous
-
7 years ago
2016-10-20 11:49
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
textdom处理
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-10-20 04:36
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
apt list Version 2
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-10-05 20:26
0
0 upvotes, 0 downvotes (score 0%) (You must be signed in to vote)
apt list --installed
Python
extract the package name and version name from the apt list --installed command
Submitted by
anonymous
-
7 years ago
2016-10-05 18:47
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
...
93
94
95
96
97
98
99
...
124
authproc1_auth01_2
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Regular Expression
Python
r"
(
^
[^
\-
]
*
)
\W
(
[^
\s
]
*
)
\s
+
(
[^
\s
]
*
)
\s
+
(
[^
\s
]
*
)
\s
+
(
[^
\s
]
*
)
\s
+
(
.
*
$
)
"
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
-
7 years ago
2016-09-07 10:02