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
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Angler Exploit Kit
no description available
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
Date Validation
This pattern validates all the possible dates for all months in YYYY-MM-DD format. Due to limitations of regex it can not validate the dates of february for leap year. It will allow the date 29 for leap year too. Make sure to validate that yourself.
Submitted by
Ashutosh Agrawal
-
8 years ago
2
4 upvotes, 2 downvotes (67% like it) (You must be signed in to vote)
pcre
YouTube Iframe parser
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
BETWEEN clause
no description available
Submitted by
anonymous
-
8 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
yowsup-cli message parsing
This pattern parses the yowsup-cli message output to recover (otherwise lost) messages. Current yowsup version: v2.4
Submitted by
kerel
-
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
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Valid Email
This is the javascript equivalent that .NET uses in their server-side validators.
Submitted by
anonymous
-
8 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Markup link
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Capture nested strings using recursion
Brackets, Parentheses, Braces, delimited
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
check password
no description available
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
visa cvv
4003447582444271
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
python
shankar g mirpuri social security number
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
rr filter
no description available
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
javascript
html img tag src
get src url from img tag in html
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
simple labels
matches alphanumeric characters and apostrophes ex. Superman's Cape
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
route53 export to bind format, moving TTL field
move TTL field from route53 zone export from right to left to "IN A/CNAME"
Submitted by
shawn.puschnig@medialets.com
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Select all numbers greater than 36 (python)
no description available
Submitted by
Mansoor
-
8 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
Select all number greater than 36
no description available
Submitted by
Mansoor
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
img
no description available
Submitted by
anonymous
-
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
1
...
736
737
738
739
740
741
742
...
854
Nisima
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
pcre
/
^
(
\d
+
)
\s
(
\w
+
)
\s
[
deavc
]
{2,4}
\s
(
[
a
-
zA
-
Zéèàâô.
\-
'
]
+
)
\s
(
\d
{4}
)
\s
(
[
a
-
zA
-
Zéèàâô
]
+
)
\s
à
\s
(
[
\d
,.
]
+
)
\s
euro
\s
[
lae
]
*
\s
?
(
[
a
-
zA
-
Z
]
*
)
$
/
gmu
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 8 years ago