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
2
3 upvotes, 1 downvotes (75% like it) (You must be signed in to vote)
pcre
catch options
catch options
Submitted by
Marek R
-
8 years ago
3
7 upvotes, 4 downvotes (64% like it) (You must be signed in to vote)
python
Twitch URL Regex
Can grab all kinds of valid twitch URLs.
Submitted by
Mio
-
8 years ago
1
2 upvotes, 1 downvotes (67% like it) (You must be signed in to vote)
javascript
NSE0(.*)\nNSE1\s+(.*)\nNSE2\s(.*)\nNSE3\s+(.*)kbps.*\nNSE4\s+(.*)\nNSE
no description available
Submitted by
anonymous
-
8 years ago
0
0 upvotes, 0 downvotes (0% like it) (You must be signed in to vote)
pcre
Single Mustache
no description available
Submitted by
anonymous
-
8 years ago
4
9 upvotes, 5 downvotes (64% like it) (You must be signed in to vote)
python
Complete imgur link regex
This regex grabs all kinds of imgur links and groups them in meaningful names aswell. This way you have full flow-control in your python-scripts.
Submitted by
Mio
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Pinguino regex
Used for replace words from .pdl
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Google Sheets Reference Formula
Matches and extracts the relevant parts of reference formulas from Google Sheets. For instance: ='Test Sheet'!H$5
Submitted by
anonymous
-
8 years ago
1
4 upvotes, 3 downvotes (57% like it) (You must be signed in to vote)
javascript
get top level domain excluding ports
I need to get the top level domain from the request header but it can be in a vary ways.. how can I match but exclude parts I dont want to get ie. ports
Submitted by
nei
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
Match Linux File basename and pathname
Matches 2 groups - pathname and file basename, and will exclude anything on the end of the line that is not properly escaped.
Submitted by
Steve Sant
-
8 years ago
11
22 upvotes, 11 downvotes (67% like it) (You must be signed in to vote)
pcre
Remove Special Ascii Characters from unicode String
By Using this string you can just remove ascii special characters from a unicode string characters like ♥♥♥♥ ▓▒ and other non unicode letters.
Submitted by
Hummad Hassan
-
8 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
2
6 upvotes, 4 downvotes (60% like it) (You must be signed in to vote)
pcre
Select all chars before last backslash
For selecting paths without filename
Submitted by
Me!
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Search for Qualifications
This will identify M.D.'s and D.O.s, regardless of punctuation (within reason) and exclude similar matches (e.g., DMD)
Submitted by
anonymous
-
8 years ago
2
2 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
YouTube Embed Video & Playlist from URL
It gets the playlistID and the videoID to conform the embed URL from the video URL
Submitted by
@rubenlopezgea
-
8 years ago
0
1 upvotes, 1 downvotes (50% like it) (You must be signed in to vote)
pcre
YouTube VideoID and ListID from URL
For embeding, replace with //www.youtube.com/embed/$3?list=$2$6
Submitted by
@rubenlopezgea
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Indonesia Post Code
no description available
Submitted by
respeto
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
border syntax checker
Checks the css value for a border
Submitted by
Benjamin Weigt
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
python
Goto next code field
Finds the next 'fieldish' part of the code like after equals or brackets or comma.
Submitted by
anonymous
-
8 years ago
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
lisp
match function names in defun constructs
Submitted by
anonymous
-
8 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
1
...
684
685
686
687
688
689
690
...
732
Google plus post regex
Vote
1
1 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
Regular Expression
pcre
/
(?:
http
(?:
s
)?
:
\/\/
)?
(?:
www
\.
)?
(?:
plus
\.
google
\.
com
\/
|
apis
\.
google
\.
com
\/
)
(?:
.
+
\/
)?
(
[^
\?
&
\"
'>
\/
^
]
+
)
(?:
\/
posts
\/
)
(
[
a
-
zA
-
Z0
-
9
]
+
)
/
Open regex in editor
Description
Loading markdown...
Submitted by
Misthero
- 8 years ago