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
Find your Db from a sql query
A regex to find the db wich you're quering against to.
Submitted by
kkrico
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
viduregex
cac vi du ve bat cac chuoi o regex
Submitted by
thieutham
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
viduregex
cac vi du ve bat cac chuoi o regex
Submitted by
thieutham
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Numbers - decimal, scientific etc
Matches numbers in most forms - normal, decimal, exponential, comma separted
Submitted by
Shashwat Black
-
8 years ago
3
6 upvotes, 3 downvotes (67% like it) (You must be signed in to vote)
pcre
Invalid Unicode characters in XML
This pattern matches all the Unicode characters that are not allowed in an XML document. It's based on the Wikipedia article "Valid characters in XML".
Submitted by
Aaron Wells
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
email
accept empty spaces at start and end
Submitted by
Emanuel Lima (jose.emanuel.lima@gmail.com)
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
python
Validate Social Security Number
Validate that the social security number follows all of the guidelines of the Social Security Administration, and excludes all voided numbers.
Submitted by
Jacob O'Dea
-
8 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
remove n lines after matching pattern
stackoverflow question
Submitted by
irom77
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
currency
no description available
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
US Zip Code Validation
5 digits and no 0 5/4 times
Submitted by
Ashish
-
8 years ago
1
8 upvotes, 7 downvotes (53% like it) (You must be signed in to vote)
javascript
Date-Validation with mm/dd/yyyy or mmddyyyy or mm-dd-yyyy or m/d/yyyy
Date Validation with leap year handling, & it takes care of date validation in the format like :mm/dd/yyyy or mmddyyyy or mm-dd-yyyy or m/d/yyyy or m-d-yyyy. 12/01/1986 02/29/2016 02/29/2015 13/31/1986...
Submitted by
Ashish
-
8 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
javascript
Date Validation
no description available
Submitted by
Ashish
-
8 years ago
-2
0 upvotes, 2 downvotes (0% like it) (You must be signed in to vote)
javascript
Date Validation
no description available
Submitted by
anonymous
-
8 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Find all Internet Explorer 11.x pkgmgr packages
This regex can be used to find all of the packages (.mum) files in the WINDIR%\servicing\Packages directory. I used it to remove the update packages from Winodws 7 pkgmgr /up:"filename" /norestart /quiet
Submitted by
Pressanykey
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Get text within pipe placeholders
Will return all matches of text between pipe placeholders, e.g. "This text has |two| placeholders |inside| of it" will return matches for two and inside.
Submitted by
Eddie Y
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
python
UK postcodes
Flexible regex to detect full or partial UK postcodes.
Submitted by
Victor Munoz
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
URL detector
no description available
Submitted by
pawel
-
8 years ago
2
3 upvotes, 1 downvotes (75% like it) (You must be signed in to vote)
pcre
Full URI Mapping
Everything, including proto, user:pass, host, query params and anchors
Submitted by
baadf00d
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Domain
Will return domain portion of a url: Example: http://www.jkrowlings.com/books Returns: www.jkrowlings.com
Submitted by
Scott Burrows
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Everthing in an element
no description available
Submitted by
anonymous
-
8 years ago
1
...
764
765
766
767
768
769
770
...
853
Username:Password
Vote
6
18 upvotes, 12 downvotes (60% like it) (You must be signed in to vote)
Regular Expression
pcre
/
[
0
-
9A
-
Za
-
z.@
]
+
:
[
0
-
z
]
+
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
Ghost
- 8 years ago