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 17,420 community submitted regex patterns...
35
236 upvotes, 201 downvotes (score 49.3%) (You must be signed in to vote)
http://
PCRE (PHP <7.3)
no description available
Submitted by
Mitus M.
-
10 years ago
2014-03-26 06:44
40
325 upvotes, 285 downvotes (score 49.3%) (You must be signed in to vote)
URL regexp
PCRE (PHP <7.3)
A quite neat regular expression for URLs, e-mails..., I found on Matthew O'Riordan's blog.
Submitted by
Matthew O'Riordan
-
11 years ago
2013-01-14 17:52
8
13 upvotes, 5 downvotes (score 49.1%) (You must be signed in to vote)
repeat group match
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-07-24 21:02
6
8 upvotes, 2 downvotes (score 49%) (You must be signed in to vote)
Extract style
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
2015-05-07 08:32
6
8 upvotes, 2 downvotes (score 49%) (You must be signed in to vote)
Find consecutive duplicate words
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-08-31 22:17
6
8 upvotes, 2 downvotes (score 49%) (You must be signed in to vote)
Spanish DNI/NIE check fist pass
ECMAScript (JavaScript)
no description available
Submitted by
Rafael Casanova Morera
-
8 years ago
2015-09-27 22:27
6
8 upvotes, 2 downvotes (score 49%) (You must be signed in to vote)
Email
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
2016-04-25 17:30
11
24 upvotes, 13 downvotes (score 48.8%) (You must be signed in to vote)
Address Check Validation
PCRE (PHP <7.3)
Check for true or false street address format
Submitted by
Dilip Borad
-
10 years ago
2014-01-30 13:56
5
6 upvotes, 1 downvotes (score 48.7%) (You must be signed in to vote)
RegEx to validate oAuth 2.0 redirect_uri
ECMAScript (JavaScript)
A simple RegEx rule which should validate redirect_uri for oAuth2
Submitted by
Vlad Miller
-
9 years ago
2014-09-24 07:02
5
6 upvotes, 1 downvotes (score 48.7%) (You must be signed in to vote)
Replace caracters not inside HTM tags
ECMAScript (JavaScript)
Select a character (or string) ingnoring if that element is inside the HTML tags. Useful to apply html tags using replace.
Submitted by
Alex5B
-
9 years ago
2015-04-27 11:50
5
6 upvotes, 1 downvotes (score 48.7%) (You must be signed in to vote)
email (tikhonov)
ECMAScript (JavaScript)
CheckEmail Login start or end simbols [._- ] .login@domain.com - fail -login@domain.com - fail _login@domain.com - fail login.@domain.com - fail...
Submitted by
Tikhonov Alexander <123546.90@mail.ru>
-
8 years ago
2015-12-31 12:13
(Last modified 4 months ago)
2023-07-24 12:11
5
6 upvotes, 1 downvotes (score 48.7%) (You must be signed in to vote)
Bible reference extractor
Python
For scraping http://skepticsannotatedbible.com/
Submitted by
antaytheist-owner
-
8 years ago
2016-04-04 08:31
13
35 upvotes, 22 downvotes (score 48.4%) (You must be signed in to vote)
PHP variable name
PCRE (PHP <7.3)
Valid PHP variable name as defined in the manual at http://php.net/manual/en/language.variables.basics.php
Submitted by
Erin Millard
-
11 years ago
2013-02-05 09:18
12
31 upvotes, 19 downvotes (score 48.2%) (You must be signed in to vote)
Full name (Turkish)
ECMAScript (JavaScript)
Matches case insensitive first name, optional unlimited number of middle names and last name separated with space format. Replaced \w with explicit char range for Turkish support. (Äž accepted as first char not to over complex)
Submitted by
CKK
-
9 years ago
2014-09-29 13:31
7
11 upvotes, 4 downvotes (score 48%) (You must be signed in to vote)
RFC 3987 compliant URL regex
ECMAScript (JavaScript)
This is a JavaScript port of the URL regex from http://stackoverflow.com/a/190405/384062 that includes a bug fix and some optimization. Mathias Bynens's Regenerate was used to convert unicode escapes. Bug fix: Eliminated stray | falsely allowing querystring to contain | ...
Submitted by
Hans Meyer
-
8 years ago
2015-06-24 14:07
16
74 upvotes, 58 downvotes (score 47.5%) (You must be signed in to vote)
http url regex
ECMAScript (JavaScript)
general purpose HTTP URL regex
Submitted by
Miguel Castillo @manchagnu
-
8 years ago
2015-06-21 19:49
18
119 upvotes, 101 downvotes (score 47.5%) (You must be signed in to vote)
Email validation
PCRE (PHP <7.3)
no description available
Submitted by
tutsplus.com
-
9 years ago
2014-09-16 13:45
16
90 upvotes, 74 downvotes (score 47.2%) (You must be signed in to vote)
Password
ECMAScript (JavaScript)
Safe Password that allow only with a number, a lowercase, a uppercase, and a special character
Submitted by
davidlondono
-
9 years ago
2015-04-28 16:49
16
101 upvotes, 85 downvotes (score 47.1%) (You must be signed in to vote)
Alphanumeric Regex
PCRE (PHP <7.3)
no description available
Submitted by
Deepan
-
8 years ago
2015-06-15 13:57
9
20 upvotes, 11 downvotes (score 46.9%) (You must be signed in to vote)
domain - host
Python
no description available
Submitted by
anonymous
-
8 years ago
2015-09-29 17:50
1
...
4
5
6
7
8
9
10
...
871
Full name (Turkish)
12
31 upvotes, 19 downvotes (score 48.2%) (You must be signed in to vote)
Regular Expression
ECMAScript (JavaScript)
/
^
[
a
-
zA
-
ZçÇığĞİöÖşŞüÜ
]
+
(?:
\s
[
a
-
zA
-
ZçÇığĞİöÖşŞüÜ
]
+
)+
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
CKK
-
9 years ago
2014-09-29 13:31