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
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
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
Alternative Capture Country Codes
no description available
Submitted by
Branden
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Google plus post regex
Retrieve username or user id and post id, example urls: https://apis.google.com/u/0/wm/1/118176280023244994777/posts/4q6esduuinn https://plus.google.com/+Username/posts/4q6ezduuinn https://plus.google.com/118176280323144994777/posts/4q6ezduuinn
Submitted by
Misthero
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Alternatvie Country Code Capture
no description available
Submitted by
Branden
-
8 years ago
-1
2 upvotes, 3 downvotes (40% like it) (You must be signed in to vote)
python
Alternative With Capture Groups
Capture alternative items matching end of lines country codes
Submitted by
Branden
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
test
test
Submitted by
test
-
8 years ago
-1
1 upvotes, 2 downvotes (33% like it) (You must be signed in to vote)
pcre
RegExp black list example usage
no description available
Submitted by
Vadim Markovtsev
-
8 years ago
5
5 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
relative to absolute
relative to absolute
Submitted by
xp_prg
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
testing for a bloke
Parsing html with regex is bad though.
Submitted by
Iroh
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
deine 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
Regex to get video ID from Youtube links
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
Flask detectar variables en url
Esta expresión regular permite detectar las variables que están declaradas dentro de una url o route del framework Flask, con esto lo único que queda es armar un loop que recorra las coincidencias y que las remplace por los valores adecuados
Submitted by
Jerry Anselmi <https://github.com/ElMijo>
-
8 years ago
0
2 upvotes, 2 downvotes (50% like it) (You must be signed in to vote)
pcre
(sub)domain match
1.Tree of subdivisions may have up to 127 levels. 2.Each label may contain up to 63 characters. 3.The full domain name may not exceed the length of 253 characters in its textual representation. rfc1035 rfc1123 rfc2181
Submitted by
Nick Chkhikvishvili
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
RegexMatchingAtLeast2SpecialCharacters
The special characters are ~!@#$%^&*()
Submitted by
anonymous
-
8 years ago
1
...
542
543
544
545
546
547
548
...
576
Stackoverflow
Vote
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
Regular Expression
pcre
/
data-custom=
(
.
*
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 9 years ago