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)
python
Nuclear Exploit Kit
Nuclear Exploit Kit Requested file
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Parcel ID (Michigan)
REGEX validator for Parcel IDs. Works for Michigan but may for other states if their parcel IDs have form "00-00-00-00-000-000".
Submitted by
Lewis
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Black Hole Exploit Kit
HTTP method = “GET” Requested file type ENDS WITH ".php" Requested file type = “x-msdownload” Request MATCHES Regular Expression
Submitted by
anonymous
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
python
localhost ip's with port
Matches localhost ip range with optional port capture: 127.X.X.X or 127.X.X.X:PORT ToDo: check valid ip address.
Submitted by
Rodrigo M. A.
-
8 years ago
-1
1 upvotes, 2 downvotes (33% like it) (You must be signed in to vote)
python
localhost match range ip with port number
Matches all ips that points to localhost like, optionally capturing port number: 127.X.X.X and 127.X.X.X:
Submitted by
Rodrigo M. A.
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Chrizzzs Regex
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
ok
no description available
Submitted by
anonymous
-
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
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
...
736
737
738
739
740
741
742
...
854
all
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
pcre
/
^.
*
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 8 years ago