Please enable JavaScript to use this web application.
Regular
Expressions
101
Social
Donate
Info
Regex Editor
Community Patterns
Account
Regex Quiz
Settings
Order By
Most Recent
Most upvotes
Most downvotes
Highest Score
Lowest Score
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 18,000 community submitted regex patterns...
3
Non vowel words
ECMAScript (JavaScript)
/\b(+)\b/ig
Submitted by
regexe
-
9 years ago
3
TV Series filename parsing
PCRE (PHP <7.3)
Get TV Series name, season and episode numbers.
Submitted by
anonymous
-
9 years ago
3
iframe src parser
Python
Get iframe src
Submitted by
Sumeet Fefar
-
9 years ago
3
TTML time expression offset-time
PCRE (PHP <7.3)
no description available
Submitted by
ovvland
-
9 years ago
3
Remove _1 suffix from image filenames
PCRE (PHP <7.3)
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
-
9 years ago
3
apache access log
PCRE (PHP <7.3)
parse the apache access log
Submitted by
pagu
-
9 years ago
3
pronouceable strings
PCRE (PHP <7.3)
find pronouceable 10 letter srings that are either all caps or all lowercases based on jsbin.com pronouceable urls
Submitted by
anonymous
-
9 years ago
3
To search for a image tag
PCRE (PHP <7.3)
This pattern would select the whole image tag
Submitted by
Dulsara Dhanuka Sethunga
-
9 years ago
3
Active Affiliate, Contractor or Employee
PCRE (PHP <7.3)
no description available
Submitted by
MR
-
9 years ago
3
ICD-10-CD Diagnosis Code
PCRE (PHP <7.3)
ICD-10-CM Diagnosis Code per https://www.cms.gov/Medicare/Coding/ICD10/downloads/ICD-10Overview.pdf
Submitted by
Cloud Cray
-
9 years ago
3
RAR and ZIP files
PCRE (PHP <7.3)
recognizes RAR archives (including splitted archives) and ZIP archives
Submitted by
anonymous
-
9 years ago
3
Match a valid IPv4 or IPv6 address
PCRE (PHP <7.3)
This regular expression will match an IPv4 address as well as both compressed or uncompressed IPv6 address.
Submitted by
Tom Groeneveld, SevOne.com
-
9 years ago
3
CSS Length Units
PCRE (PHP <7.3)
Matches CSS Length Units according to: http://www.w3schools.com/cssref/css_units.asp
Submitted by
Sander Backus
-
9 years ago
3
Script Tags
PCRE (PHP <7.3)
This is used when removing Script Tags and their content.
Submitted by
Chris Sumners
-
9 years ago
3
Time duration format
PCRE (PHP <7.3)
Match time duration in the following formats only: 1h 30m 59m 1h 33m 11h 2m
Submitted by
Pooja Khorjuvekar
-
9 years ago
3
Proxy matcher
PCRE (PHP <7.3)
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
-
9 years ago
3
Escherichia coli, partial genome simple coding region search
PCRE (PHP <7.3)
NC_000913.3 Escherichia coli str. K-12 substr. MG1655, patial genome
Submitted by
anonymous
-
9 years ago
3
Validación de numeros de teléfono
PCRE (PHP <7.3)
no description available
Submitted by
devsolarte@gmail.com
-
9 years ago
3
french phone number + match right part
PCRE (PHP <7.3)
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
-
9 years ago
3
IPv4 validation
ECMAScript (JavaScript)
validate an IP v4
Submitted by
harimambura
-
9 years ago
1
...
884
885
886
887
888
...
900
Community Library Entry
3
Regular Expression
Golang
`
^
(?P<scheme>
[^
:
\/
?#
]
+
)
:
(?:
\/\/
)?
(?:
(?:
(?P<login>
[^
:
]
+
)
(?:
:
(?P<password>
[^
@
]
+
)?
)?
@
)?
(?P<host>
[^
@
\/
?#:
]
*
)
(?:
:
(?P<port>
\d
+
)?
)?
)?
(?P<path>
[^
?#
]
*
)
(?:
\?
(?P<query>
[^
#
]
*
)
)?
(?:
#
(?P<fragment>
.
*
)
)?
`
gm
Open regex in editor
Description
Extract URL parts only named capturing groups
Submitted by
dixanms
-
3 years ago