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,040 community submitted regex patterns...
1
Maven Version
PCRE2 (PHP >=7.3)
Based on https://docs.oracle.com/middleware/1212/core/MAVEN/maven_version.htm#A1000661 this validates all maven versions.
Submitted by
Baaji Shayeed Shaik
-
10 months ago
1
check csv content
PCRE2 (PHP >=7.3)
a
Submitted by
abc
-
10 months ago
1
https://shopee.com.my/minhao3313
PCRE2 (PHP >=7.3)
minhao3313
Submitted by
anonymous
-
a year ago
1
hentialheroes id girl tag
PCRE2 (PHP >=7.3)
reading the id tag from the girl harem html
Submitted by
anonymous
-
a year ago
1
Hungarian regular and vanity license plates both from 1990 and 2022 series
PCRE2 (PHP >=7.3)
All regular and vanity Hungarian plates are included from 1990 and from 2022. Special plates (customs, lost, diplomatic and so on), police, ambulance, etc. are not included.
Submitted by
gergelyfuzi
-
a year ago
1
French mobile phone numbers
PCRE2 (PHP >=7.3)
French mobile phone numbers
Submitted by
anonymous
-
a year ago
1
.*(EXCEL[.]EXE).*(?i)(Maxicredito).*([.]xlsx - Excel)
.NET 7.0 (C#)
.(EXCEL[.]EXE).(?i)(Maxicredito).*([.]xlsx - Excel)
Submitted by
anonymous
-
a year ago
1
ActivityWatcher
.NET 7.0 (C#)
sda
Submitted by
anonymous
-
a year ago
1
http search locale
PCRE2 (PHP >=7.3)
search locale in http
Submitted by
anonymous
-
a year ago
1
Dimensioned quantities in markdown, selected units
ECMAScript (JavaScript)
A more general match for numbers with units/dimensions in plaintext. This is unoptimized, a bit rough, and leaves out plenty of units while including some oddities. Use it as the first step to something better if you're linting md files. This was good enough for my use case, which doesn't care much ...
Submitted by
ecfrechette
-
a year ago
1
Typographic correction for SI units
ECMAScript (JavaScript)
Matches quantities dimensioned by SI units in typical markdown-formatted plaintext documents. Replaces any spaces or HTML entities between the number and its dimensions with a "narrow non-breaking space" character. This character may fallback to a "thin space" due to its font support. The lexicograp...
Submitted by
ecfrechette
-
a year ago
(Last modified a year ago)
1
Match all HTML heading elements and capture their titles
.NET 7.0 (C#)
Useful for matching/finding and capturing/extracting the titles of HTML heading elements. This was used to identify all heading elements within the body of a web page for the purposes of generating a Table of Contents for the page. Note: This expression could be altered for different HTML element ta...
Submitted by
Darius Liktorius
-
a year ago
1
Belgian license plate regex
ECMAScript (JavaScript)
Regex supporting new old license plates from Belgium but dus not support custom license plates
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
Detect version of Chrome browser in navigator.userAgent
PCRE2 (PHP >=7.3)
Detect version of Chrome browser in navigator.userAgent
Submitted by
Avaray
-
a year ago
1
PCRE2 (PHP >=7.3)
$ python -m aeneas.tools.execute_task --examples
Submitted by
anonymous
-
a year ago
1
postgres regex
PCRE2 (PHP >=7.3)
He simply validate a uri for consuming an azure db
Submitted by
anonymous
-
a year ago
1
Parse raw http request line
PCRE2 (PHP >=7.3)
Parse raw http request line
Submitted by
Dimas Lanjaka
-
a year ago
1
regex tokopedia longlink
PCRE2 (PHP >=7.3)
regex tokopedia longlink
Submitted by
ival
-
a year ago
1
regex tokopedia shortlink affiliate
PCRE2 (PHP >=7.3)
regex for tokopedia shortlink affiliate
Submitted by
ival
-
a year ago
1
Remove Country Code (Genesys DIalplan)
PCRE2 (PHP >=7.3)
Xformation rule on Trunk level
Submitted by
Istvan Laszlo
-
a year ago
1
...
29
30
31
32
33
...
902
Community Library Entry
1
Regular Expression
ECMAScript (JavaScript)
/
(
https
?
:
\/\/
)
(
(?:
[
-a
-
zA
-
Z0
-
9@:%._+~#=
]
+
)
\.
)?
(
[
-a
-
zA
-
Z0
-
9@:%._+~#=
]
{2,256}
\.
[
a
-
z
]
{2,6}
\b
|
localhost
(?:
\:
\d
{1,5}
)?
)
(
\/
[
\w
.-
]
*
)*
(
\?
[
\w
\-
._~!*'(),%=&+
]
*
)?
(
$
|
\#
.
*
|
\?
.
*
)?
/
gm
Open regex in editor
Description
Match a URL and capture its parts. Please suggest your improvements.
Submitted by
Lamer217
-
10 months ago