Regular
Expressions
101
Please wait while the app is loading...
Please enable JavaScript to use this web application.
Regular
Expressions
101
@regex101
Donate
Sponsor
Contact
Bug Reports & Feedback
Wiki
What's new?
What's new?
Loading content...
Close
Regex Editor
Regex Editor
Regex Library
Regex Library
Account
Account
Regex Quiz
Regex Quiz
Settings
Settings
Live Help
Live Help
Order By
Most Recent
Most Points
Fewest Points
Filter by Flavor
PCRE2
PCRE
ECMAScript
Python
Golang
Java
.NET
Sponsors
All your environment variables, in one place
Library entries
Search library
-2
3 upvotes, 5 downvotes (38% like it) (You must be signed in to vote)
javascript
search all special characters
no description available
Submitted by
rlynjb
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
email
matches normal email addresses like example@gmail.com but also addresses with ip addresses like example@192.168.0.34 (not ipv6)
Submitted by
Adrian Kühni
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
javascript
Name/Surname
Regex to constrain a text to have at least 2 strings. Compatible with 2nd-3rd-Nth names/surnames.
Submitted by
BigL
-
8 years ago
-2
8 upvotes, 10 downvotes (44% like it) (You must be signed in to vote)
javascript
Valid Email
Use this Regex for server-side validation also with some slight modifications like so for .NET -- @\w+([-+.']\w+)@\w+([-.]\w+)\.[a-zA-Z0-9]{2,6}(-.{2,6})*;
Submitted by
Fred Scales
-
8 years ago
-2
0 upvotes, 2 downvotes (0% like it) (You must be signed in to vote)
javascript
Roman numbers
This regex matches roman numbers from 1 (I) to 3999 (MMMCMXCIX)
Submitted by
Nicolò Ribaudo
-
8 years ago
-2
0 upvotes, 2 downvotes (0% like it) (You must be signed in to vote)
pcre
float
matches 123.4f 123.4F .4f .4F 5f 5F
Submitted by
Mateusz Paluch
-
8 years ago
-2
0 upvotes, 2 downvotes (0% like it) (You must be signed in to vote)
pcre
boolean
Value must be either true or false
Submitted by
nstaal
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
python
match commas between sets or members, but not inside members.
matches only those commas that are between sets, or between members of a set. does not match commas that are inside members.
Submitted by
Amrit Kohli
-
8 years ago
-2
0 upvotes, 2 downvotes (0% like it) (You must be signed in to vote)
javascript
Multiple Email Address Validation
Validates Multiple email addresses seperated by comma.
Submitted by
Rajesh Badam
-
8 years ago
-2
4 upvotes, 6 downvotes (40% like it) (You must be signed in to vote)
python
Between two strings
Awesome explanation of nested lookbacks
Submitted by
OnlineCop
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
javascript
Validating comma delimited strings for whitespaces & extra commas
Validating comma delimited strings for whitespaces & extra commas -- +(,()+){0,}
Submitted by
Cyril Mathew
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
Simple Username Pattern
a simple username pattern
Submitted by
Saeed Tabrizi
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
DOTNET
no description available
Submitted by
anonymous
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
Get begining of url (subdomain)
In between 2 delimiters
Submitted by
anonymous
-
8 years ago
-2
2 upvotes, 4 downvotes (33% like it) (You must be signed in to vote)
python
adsf
adfadfad
Submitted by
anonymous
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
python
match unescaped quotes
no description available
Submitted by
anonymous
-
8 years ago
-2
0 upvotes, 2 downvotes (0% like it) (You must be signed in to vote)
pcre
Parse all simple math expressions (decimals, whole, negative)
-2.02^3(2+3.024)+3.14159-(45^23)/(19-4)
Submitted by
anonymous
-
8 years ago
-2
1 upvotes, 3 downvotes (25% like it) (You must be signed in to vote)
pcre
Get the HTML table tag and all content from within
no description available
Submitted by
Pedro Marcelo de Sá Alves
-
8 years ago
-2
3 upvotes, 5 downvotes (38% like it) (You must be signed in to vote)
python
Email Validation
Full email validation with optional "." "-" "_"
Submitted by
Jakub Stasiak
-
7 years ago
-2
2 upvotes, 4 downvotes (33% like it) (You must be signed in to vote)
python
TD data from html table
no description available
Submitted by
Deepak Bansal
-
7 years ago
1
...
737
738
739
740
741
742
743
...
745
URL regexp
Vote
40
325 upvotes, 285 downvotes (53% like it) (You must be signed in to vote)
Regular Expression
pcre
/
(
(
(
[
A
-
Za
-
z
]
{3,9}
:
(?:
\/\/
)?
)
(?:
[
-;:&=
\+\$
,
\w
]
+
@
)?
[
A
-
Za
-
z0
-
9.-
]
+
|
(?:
www
.
|
[
-;:&=
\+\$
,
\w
]
+
@
)
[
A
-
Za
-
z0
-
9.-
]
+
)
(
(?:
\/
[
\+
~%
\/
.
\w
-_
]
*
)?
\?
?
(?:
[
-
\+
=&;%@.
\w
_
]
*
)
#
?
(?:
[
.
\!\/\\
w
]
*
)
)?
)
/
ig
Open regex in editor
Description
Loading markdown...
Submitted by
Matthew O'Riordan
- 10 years ago