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...
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Piwik
Python
no description available
Submitted by
Lennart Peeters
-
7 years ago
2016-12-19 17:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
BTPAPP
Python
Filter search for candidate
Submitted by
anonymous
-
7 years ago
2016-12-22 10:17
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
lines with 2 consecutive chars
Python
no description available
Submitted by
anonymous
-
7 years ago
2016-12-23 09:33
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Amazon Resource Name (ARN) pattern with a named group for each component
Python
A pattern to parse Amazon Web Services ARNs into their varying components: Partition Service Region AccountID...
Submitted by
Arnoud
-
7 years ago
2017-01-09 05:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Any word
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-01-10 18:28
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Https
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-01-11 10:34
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Match invalid percent-encoding
Python
Match % signs of sequences that aren't valid "percent-encoded"
Submitted by
anonymous
-
7 years ago
2017-01-14 00:44
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Product Code Matcher
Python
Regex to find product codes that are usually all upper case with numbers or all numbers with possible hyphens, slashes or dots as delimiters. Anything that matches the date format ##/##/##?? with various delimiters will not match. Require that the code contains at least 1 number. ...
Submitted by
anonymous
-
7 years ago
2017-01-14 16:32
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Para la consulta departamento
Python
Define los parámetros para la consulta de los datos del departamento.
Submitted by
anonymous
-
7 years ago
2017-01-15 03:42
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CS124_HW1:spamlord_email
Python
Spamlord assignment: this regex detects email addresses in text.
Submitted by
anonymous
-
7 years ago
2017-01-17 12:35
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
CS124_HW1:spamlord_phone
Python
Spamlord assignment: this regex detects phone numbers in text.
Submitted by
anonymous
-
7 years ago
2017-01-17 12:37
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
中文
Python
Python 正则匹配中文、中文全角逗号句号和问号
Submitted by
anonymous
-
7 years ago
2017-01-20 07:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
test
Python
learning regex in python
Submitted by
anonymous
-
7 years ago
2017-01-21 09:46
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Chord scanning
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-01-21 16:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
#define
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-01-25 14:49
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
/etc/passwd for most Linux distributions (e.g. Debian)
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-01-27 15:40
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
parsing objdump output
Python
parsing objdump output
Submitted by
anonymous
-
7 years ago
2017-01-29 08:47
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
traceroute
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-02-09 09:31
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
TLO con multiples UPLOAD
Python
no description available
Submitted by
anonymous
-
7 years ago
2017-02-13 08:43
1
1 upvotes, 0 downvotes (score 20.7%) (You must be signed in to vote)
Domain validation regex suitable for user input
Golang
This regexp can be used to validate domain names in Golang. While it cannot enforce the 253 character limit (with optional trailing period not included) that can be easily done by a simple len(domain) <= 253 check as well. This can be used as-is in other languages, even with RE2 regex engine. If po...
Submitted by
Alexander Dupuy
-
4 years ago
2020-03-22 22:40
1
...
28
29
30
31
32
33
34
...
114
Email Validation
-2
3 upvotes, 5 downvotes (score 13.7%) (You must be signed in to vote)
Regular Expression
Python
r"
^
[
\w\d
]
(
\.
?
[
\w\d
_-
]
)*
@
[
\w\d
]
+
\.
(
[
\w
]
{1,6}
\.
)?
[
\w
]
{2,6}
$
"
g
Open regex in editor
Description
Loading markdown...
Submitted by
Jakub Stasiak
-
8 years ago
2015-12-01 22:35