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
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Get Headings From Markdown Format
Get all headings in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Get Hyperlinks From Markdown Format
Get all hyperlinks in a Markdown Format Text
Submitted by
Ferdinand Dimas
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Récupérer la bonne information
Groupe d'information $1 $2 $3 $1 = Prénom + Nom $2 = (Information à récupérer ou à supprimer) $3 = Numéro de téléphone
Submitted by
Terence DEMOL
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Removes duplicate lines in text editor
"dot matches newline" must be activated. Search and replace by "" (empty string) removes duplicate lines anywhere in text. Example for Notepad++ use shown under http://stackoverflow.com/questions/3958350/removing-duplicate-rows-in-notepad
Submitted by
Stackoverflow user stema
-
8 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
javascript
Firt letter of names capitalize with exceptions
Check if brazilian names are imputed correctly. Ex: Paulo da Silva
Submitted by
William
-
8 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Remove br tags inside anchor tags
no description available
Submitted by
anonymous
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Non vowel words
/\b(+)\b/ig
Submitted by
regexe
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
TV Series filename parsing
Get TV Series name, season and episode numbers.
Submitted by
anonymous
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
JWT Validation
Validate a Json Web Token (JWT).
Submitted by
Erik Maas
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
TTML time expression offset-time
no description available
Submitted by
ovvland
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Remove _1 suffix from image filenames
Remove autogenerated file name suffixes from images whilst preserving the extension (e.g. .jpg) These suffixes are usually added when filename already exists in the directory an image is being saved to by an application. Magento is a fine example of a system that does this.
Submitted by
John Hughes
-
7 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
apache access log
parse the apache access log
Submitted by
pagu
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
pronouceable strings
find pronouceable 10 letter srings that are either all caps or all lowercases based on jsbin.com pronouceable urls
Submitted by
anonymous
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
To search for a image tag
This pattern would select the whole image tag
Submitted by
Dulsara Dhanuka Sethunga
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Active Affiliate, Contractor or Employee
no description available
Submitted by
MR
-
7 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
Match a valid IPv4 or IPv6 address
This regular expression will match an IPv4 address as well as both compressed or uncompressed IPv6 address.
Submitted by
Tom Groeneveld, SevOne.com
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
CSS Length Units
Matches CSS Length Units according to: http://www.w3schools.com/cssref/css_units.asp
Submitted by
Sander Backus
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Script Tags
This is used when removing Script Tags and their content.
Submitted by
Chris Sumners
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Time duration format
Match time duration in the following formats only: 1h 30m 59m 1h 33m 11h 2m
Submitted by
Pooja Khorjuvekar
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Proxy matcher
Matches proxies in ip:port format. Takes into account that octets cant start with a 0, and that octets that are not the first octet can be a 0 if there are no more numbers behind it.
Submitted by
Dank meme machine
-
7 years ago
1
...
728
729
730
731
732
733
734
...
743
test
Vote
-10
5 upvotes, 15 downvotes (25% like it) (You must be signed in to vote)
Regular Expression
pcre
/
www
.
hallo
.
com
/
Open regex in editor
Description
Loading markdown...
Submitted by
test
- 9 years ago