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
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
For Auto RTFs
no description available
Submitted by
Dan Bloomquist
-
10 years ago
4
8 upvotes, 4 downvotes (67% like it) (You must be signed in to vote)
pcre
Strip out domain extensions except for Microsoft .net technologies.
no description available
Submitted by
anonymous
-
10 years ago
4
5 upvotes, 1 downvotes (83% like it) (You must be signed in to vote)
pcre
1st TSV
no description available
Submitted by
DynV
-
10 years ago
4
14 upvotes, 10 downvotes (58% like it) (You must be signed in to vote)
pcre
Get stuff inside <a> tags
Get stuff inside tags, which are between certain words
Submitted by
Jerry
-
10 years ago
4
8 upvotes, 4 downvotes (67% like it) (You must be signed in to vote)
pcre
YouTube Grabber Cleanup
no description available
Submitted by
anonymous
-
10 years ago
4
7 upvotes, 3 downvotes (70% like it) (You must be signed in to vote)
pcre
Task 1
Finds a happy smile, except sad one
Submitted by
Kovalev Evgeny
-
9 years ago
4
5 upvotes, 1 downvotes (83% like it) (You must be signed in to vote)
pcre
Hungarian ANDOK system id
no description available
Submitted by
Tana
-
9 years ago
4
5 upvotes, 1 downvotes (83% like it) (You must be signed in to vote)
pcre
REGEX to parse IIS7 Log File into FluentD
This regex parses the entire line of the IIS log files (without detail on the AgentID) for usage into FluentD. Q&C - juan.carniglia@gmail.com
Submitted by
Juan Carniglia
-
9 years ago
4
20 upvotes, 16 downvotes (56% like it) (You must be signed in to vote)
pcre
Element's Attribute Value in XML (simple)
Simple regular expression for extracting attribute value of the element in XML-string. Attribute value should be in quotes.
Submitted by
Nikita Danilov
-
9 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Command handling
Handles commands like in CMD
Submitted by
anonymous
-
9 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Get URL parameters
no description available
Submitted by
anonymous
-
9 years ago
4
19 upvotes, 15 downvotes (56% like it) (You must be signed in to vote)
pcre
Remove HTML tags
This regex is used to remove HTML tag on string
Submitted by
Jordane BACHELET
-
9 years ago
4
18 upvotes, 14 downvotes (56% like it) (You must be signed in to vote)
pcre
Separate words (works with spaces, dashes and underscores)
no description available
Submitted by
marcoslhc
-
9 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
parsing a numeric strings with backslash using regexp
no description available
Submitted by
A.K. Asik
-
9 years ago
4
6 upvotes, 2 downvotes (75% like it) (You must be signed in to vote)
pcre
Simple Linux File Absolute Path Tester
Match simple linux file absolute path as /usr/share/my-folder/helloworld.jpg
Submitted by
FLonpl6
-
9 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
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
4
10 upvotes, 6 downvotes (63% like it) (You must be signed in to vote)
pcre
utf-8 hex.
utf-8 hex. code armenian. Firs character regexp
Submitted by
Dyxx
-
8 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
uri parser
no description available
Submitted by
anonymous
-
8 years ago
4
4 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Match nth occurence of pattern
Match nth occurence of the patterns in the inner parenthesis. Put nth that you want to match in the curly braces (here, {3}).
Submitted by
Alex Hall
-
8 years ago
1
2
3
4
5
6
7
8
...
487
regex101.com id grabber
Vote
13
53 upvotes, 40 downvotes (57% like it) (You must be signed in to vote)
Regular Expression
pcre
/
^
https
?
:
\/\/
regex101
\.
com
\/
?
(?:
r
\/
(?P<link>
(?:
[
a
-
zA
-
Z
]
{2}
\d
){2}
)
(?:
\/
(?P<version>
\d
+
)?
)?
)?
$
/
gm
Open regex in editor
Description
Loading markdown...
Submitted by
chris mccoy
- 9 years ago