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
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
test
no description available
Submitted by
anonymous
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
test
test
Submitted by
anonymous
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Match youtube id
no description available
Submitted by
anonymous
-
8 years ago
4
6 upvotes, 2 downvotes (75% like it) (You must be signed in to vote)
pcre
Validate a Particular File Extension
Validates a File Path and makes sure the correct extension is at the end.
Submitted by
Andrew Morpurgo
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Get Itunes ID
Get itunes id from url
Submitted by
sendypw
-
8 years ago
-2
2 upvotes, 4 downvotes (33% like it) (You must be signed in to vote)
python
python bracketed text
why doesn't this match text in brackets?
Submitted by
anonymous
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Email validation
because everything else is too strict
Submitted by
anonymous
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Stackexchange: Create date variable from time
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
rvewr
no description available
Submitted by
anonymous
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
URL with matching categories
Finds the protocol, subdomain, ((domain, extension)/ipaddress), port, filepath (split in path and filename), the route and the query string.
Submitted by
fps
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
match any email address in list
no description available
Submitted by
cloneman
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Match mydomain*.mydomain.com
no description available
Submitted by
Trappist
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Пошук Ñмайлів
ПроÑтенька демонÑÑ‚Ñ€Ð°Ñ†Ñ–Ñ Ð¿Ð¾ÑˆÑƒÐºÑƒ Ñмайлів за допомогою регулÑрних виразів
Submitted by
КоÑÑ‚Ñ Ð¢Ñ€ÐµÑ‚Ñк
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Ja som's regex
no description available
Submitted by
anonymous
-
8 years ago
18
21 upvotes, 3 downvotes (88% like it) (You must be signed in to vote)
pcre
Parsing browser User Agents
From a (fairly large) list of User Agent strings, extract the OS, Browser, and Device Type.
Submitted by
OnlineCop
-
8 years ago
-1
3 upvotes, 4 downvotes (43% like it) (You must be signed in to vote)
python
text beetween text
no description available
Submitted by
karol
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Extract elevation from GPX
Matches everything except content between and
Submitted by
ViteXikora
-
8 years ago
4
5 upvotes, 1 downvotes (83% like it) (You must be signed in to vote)
pcre
AMEX, VISA, MASTERCARD, and DISCOVER REGEX
First pass at a way to find credit card data using regex.
Submitted by
David Maislin
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
pcre
Currency amount without currency symbol
Matching numbers related to financial amounts. Does not consider the type of currency. Will not match: 34 1.005 33,00...
Submitted by
elgehelge
-
8 years ago
2
5 upvotes, 3 downvotes (63% like it) (You must be signed in to vote)
pcre
Currency amount without currency symbol
Matches numbers that are likely to by financial amount. Does not consider the type of currency.
Submitted by
elgehelge
-
8 years ago
1
...
550
551
552
553
554
555
556
...
585
phone number (FR)
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
pcre
/
^
(
\d
{2}
[
\.
-
]
?
){4}
\d
{2}
$
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 8 years ago