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,020 community submitted regex patterns...
1
Connection String Parser
PCRE2 (PHP >=7.3)
Parses connection strings into named groups Key and Value , which can then be handled by whatever programmatic method you like. Ideally handled as key value pairs. I did this in PowerShell using the below: function Resolve-ConnectionString {...
Submitted by
rbleattler
-
10 months ago
1
Replace all occurences of a caracter except if placed between "
PCRE2 (PHP >=7.3)
Replace all occurences of the caracter ; except if it placed between two " signs.
Submitted by
ccroche helped by ChatGPT
-
10 months ago
1
XC410
PCRE2 (PHP >=7.3)
QS
Submitted by
anonymous
-
10 months ago
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
-
10 months ago
1
hentialheroes id girl tag
PCRE2 (PHP >=7.3)
reading the id tag from the girl harem html
Submitted by
anonymous
-
10 months 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
-
10 months ago
1
French mobile phone numbers
PCRE2 (PHP >=7.3)
French mobile phone numbers
Submitted by
anonymous
-
10 months ago
1
.*(EXCEL[.]EXE).*(?i)(Maxicredito).*([.]xlsx - Excel)
.NET 7.0 (C#)
.(EXCEL[.]EXE).(?i)(Maxicredito).*([.]xlsx - Excel)
Submitted by
anonymous
-
10 months ago
1
ActivityWatcher
.NET 7.0 (C#)
sda
Submitted by
anonymous
-
10 months ago
1
http search locale
PCRE2 (PHP >=7.3)
search locale in http
Submitted by
anonymous
-
10 months 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
-
10 months 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
-
10 months ago
(Last modified 10 months 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
-
10 months 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
-
10 months ago
(Last modified 10 months 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
-
10 months ago
1
PCRE2 (PHP >=7.3)
$ python -m aeneas.tools.execute_task --examples
Submitted by
anonymous
-
10 months ago
1
postgres regex
PCRE2 (PHP >=7.3)
He simply validate a uri for consuming an azure db
Submitted by
anonymous
-
10 months ago
1
Parse raw http request line
PCRE2 (PHP >=7.3)
Parse raw http request line
Submitted by
Dimas Lanjaka
-
a year ago
1
...
28
29
30
31
32
...
901
Community Library Entry
1
Regular Expression
PCRE2 (PHP >=7.3)
/
(
postgresql:
\/\/
)?
(
[
a
-
zA
-
Z
]
{2,}
(
@
)?
[
a
-
zA
-
Z
]
{2,}
)
:
(
[
a
-
zA
-
Z
]
{2,}
(
@
)?
[
a
-
zA
-
Z
]
{2,}
)
(
.
+
)
:
(
\d
{4,}
)
\/
(
[
a
-
zA
-
Z
]
{2,}
)
/
g
Open regex in editor
Description
He simply validate a uri for consuming an azure db
Submitted by
anonymous
-
10 months ago