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
9
11 upvotes, 2 downvotes (85% like it) (You must be signed in to vote)
pcre
Fixo LDN CSP e SEM CSP
no description available
Submitted by
Marcos Müller
-
9 years ago
9
35 upvotes, 26 downvotes (57% like it) (You must be signed in to vote)
pcre
only numbers
A string with only numbers in
Submitted by
Gotts
-
8 years ago
9
12 upvotes, 3 downvotes (80% like it) (You must be signed in to vote)
pcre
Letters, numbers and blank space
The following regular expression matches only letter a-z A-Z numbers 0-9 and a blank space for a given string.
Submitted by
Jordan Raychev
-
7 years ago
8
18 upvotes, 10 downvotes (64% like it) (You must be signed in to vote)
pcre
Date time Advanced
no description available
Submitted by
Mr.Neutro
-
10 years ago
8
11 upvotes, 3 downvotes (79% like it) (You must be signed in to vote)
pcre
Extract url GET parameters
Returns key/value pair of a url. Also works with google fonts which has additional information
Submitted by
anonymous
-
9 years ago
8
9 upvotes, 1 downvotes (90% like it) (You must be signed in to vote)
javascript
UUID
no description available
Submitted by
anonymous
-
9 years ago
8
8 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
simple email
no description available
Submitted by
anonymous
-
8 years ago
8
17 upvotes, 9 downvotes (65% like it) (You must be signed in to vote)
pcre
Alphanumeric and Spaces
Alow alphanumeric characters and spaces
Submitted by
JTN
-
8 years ago
8
11 upvotes, 3 downvotes (79% like it) (You must be signed in to vote)
pcre
If-Then-Else Conditionals
no description available
Submitted by
anonymous
-
8 years ago
8
11 upvotes, 3 downvotes (79% like it) (You must be signed in to vote)
javascript
money: either 0 or 2 dp
no description available
Submitted by
anonymous
-
8 years ago
8
8 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Fiddler raw body to PHP array
no description available
Submitted by
garsax
-
7 years ago
8
9 upvotes, 1 downvotes (90% like it) (You must be signed in to vote)
pcre
Max - URL Extract
no description available
Submitted by
Ayush
-
7 years ago
7
14 upvotes, 7 downvotes (67% like it) (You must be signed in to vote)
pcre
PAN CARD validation
checks for valid PAN card for Indian users.
Submitted by
karan thakkar
-
9 years ago
7
17 upvotes, 10 downvotes (63% like it) (You must be signed in to vote)
javascript
split URL into location-resource-params (JavaScript)
Extract resource location, name and query parameters from a URL (JavaScript version)
Submitted by
cebence
-
9 years ago
7
9 upvotes, 2 downvotes (82% like it) (You must be signed in to vote)
pcre
Sentence grabber /w extra check
Grabs sentences including terms like: e.g. z.b. Figs.These get caught in 1st capturing group. Problem: how to only accept matching sentences which contain pattern \b\d+[a-z]{0,2}\b?
Submitted by
light0
-
9 years ago
7
21 upvotes, 14 downvotes (60% like it) (You must be signed in to vote)
javascript
if, else if, else condtion match
matches full if condition statment eg: if(condition){ ... } else if(condition){ ... }else{...
Submitted by
Ivan Jakesevic
-
9 years ago
7
19 upvotes, 12 downvotes (61% like it) (You must be signed in to vote)
javascript
simple common lisp tokenizer
main symbols and comments are supported
Submitted by
d4rw1n1s7@gmail.com
-
8 years ago
7
10 upvotes, 3 downvotes (77% like it) (You must be signed in to vote)
pcre
rsyslog test
global modifier
Submitted by
dtmland
-
8 years ago
7
22 upvotes, 15 downvotes (59% like it) (You must be signed in to vote)
javascript
Match text (not within html tag)
no description available
Submitted by
Moistly
-
8 years ago
7
8 upvotes, 1 downvotes (89% like it) (You must be signed in to vote)
pcre
validate US (5 & 9 digit) ZipCodes and CA PostalCodes
no description available
Submitted by
anonymous
-
8 years ago
1
2
3
4
5
6
7
...
727
Regex for telephone numbers all over the world
Vote
71
409 upvotes, 338 downvotes (55% like it) (You must be signed in to vote)
Regular Expression
javascript
/
\+
?
\d
{1,4}
?
[
-.
\s
]
?
\(
?
\d
{1,3}
?
\)
?
[
-.
\s
]
?
\d
{1,4}
[
-.
\s
]
?
\d
{1,4}
[
-.
\s
]
?
\d
{1,9}
/
g
Open regex in editor
Description
Loading markdown...
Submitted by
Aditya Joshi
- 9 years ago