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)
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
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre
Escherichia coli, partial genome simple coding region search
NC_000913.3 Escherichia coli str. K-12 substr. MG1655, patial genome
Submitted by
anonymous
-
7 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
french phone number + match right part
Matches french numbers (not special numbers like 115, 18). First matching group contains the right part without prefix (0, +33, 33, 033, or 0033).
Submitted by
xdrm-brackets
-
7 years ago
3
5 upvotes, 2 downvotes (71% like it) (You must be signed in to vote)
javascript
IPv4 validation
validate an IP v4
Submitted by
harimambura
-
7 years ago
3
4 upvotes, 1 downvotes (80% like it) (You must be signed in to vote)
pcre
JSON recognition
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
Multiple emails seperated with comma
Multiple emails seperated with comma allowed multiple dot ltds
Submitted by
Hassan Youssef
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Find css lines with px sizing
Use to find css sizing that migh need conversion to vs or alike.
Submitted by
Bob
-
7 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
National Insurance Number regular expression
This regular expression is build from the description of NINO number of GOV.UK,
Submitted by
Iftakhar Husan
-
2 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
javascript
Email
This is a bit simpler version that is still quite robust. It was taken from a Formik example.
Submitted by
codefinity
-
2 years ago
3
3 upvotes, 0 downvotes (100% like it) (You must be signed in to vote)
pcre2
Livestock - Visual tag and Back tag
Visual tag and Back tag cannot more than 15 characters or only can contain uppercase, lowercase, space and dash.
Submitted by
Adrian Yim
-
2 years ago
1
...
833
834
835
836
837
838
839
...
848
gfdgfsdgsfdg
Vote
-171
19 upvotes, 190 downvotes (9% like it) (You must be signed in to vote)
Regular Expression
pcre
/
\p{Arabic}
+
/
Open regex in editor
Description
Loading markdown...
Submitted by
anonymous
- 10 years ago