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
15 upvotes, 6 downvotes (71% like it) (You must be signed in to vote)
pcre
Removing an XML Nodes namespace prefix from a XML string wit
no description available
Submitted by
anonymous
-
10 years ago
9
67 upvotes, 58 downvotes (54% like it) (You must be signed in to vote)
pcre
Youtube ID match
This regex will match any Youtube video ID thrown at it and return one capturing group containing the ID.
Submitted by
Jacob Overgaard
-
10 years ago
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
20 upvotes, 11 downvotes (65% like it) (You must be signed in to vote)
python
domain - host
no description available
Submitted by
anonymous
-
8 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
10 upvotes, 2 downvotes (83% like it) (You must be signed in to vote)
python
Find Reddit Threads
Simply searches for the thread-id in any kind of valid reddit-URL.
Submitted by
Mio
-
8 years ago
8
11 upvotes, 3 downvotes (79% like it) (You must be signed in to vote)
python
English date in "dd mmmm yyyy" format
Parse an English date following the "dd mmmm yyyy" format.
Submitted by
Tantale
-
8 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
13 upvotes, 5 downvotes (72% like it) (You must be signed in to vote)
python
repeat group match
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
20 upvotes, 13 downvotes (61% like it) (You must be signed in to vote)
python
CSS Import
no description available
Submitted by
anonymous
-
9 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
1
2
3
4
5
6
7
...
834
Email address (most used)
Vote
31
142 upvotes, 111 downvotes (56% like it) (You must be signed in to vote)
Regular Expression
javascript
/
^
(
[
\w
-
]
+
(?:
\.
[
\w
-
]
+
)*
)
@
(
(?:
[
\w
-
]
+
\.
)*
\w
[
\w
-
]
{0,66}
)
\.
(
[
a
-
z
]
{2,6}
(?:
\.
[
a
-
z
]
{2}
)?
)
$
/
i
Open regex in editor
Description
Loading markdown...
Submitted by
Jago
- 8 years ago