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
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
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
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
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
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
http search locale
PCRE2 (PHP >=7.3)
search locale in http
Submitted by
anonymous
-
a year ago
1
ActivityWatcher
.NET 7.0 (C#)
sda
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
French mobile phone numbers
PCRE2 (PHP >=7.3)
French mobile phone numbers
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
hentialheroes id girl tag
PCRE2 (PHP >=7.3)
reading the id tag from the girl harem html
Submitted by
anonymous
-
a year ago
1
https://shopee.com.my/minhao3313
PCRE2 (PHP >=7.3)
minhao3313
Submitted by
anonymous
-
a year ago
1
check csv content
PCRE2 (PHP >=7.3)
a
Submitted by
abc
-
a year 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
-
a year ago
1
XC410
PCRE2 (PHP >=7.3)
QS
Submitted by
anonymous
-
a year 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
-
a year ago
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
-
a year ago
1
SGML Element (.Net)
PCRE2 (PHP >=7.3)
Parses an SGML . It doesn't account for name groups. See https://sgmljs.net/docs/sgmlrefman.html. Note that the "Flavor" should be .NET as things get a little weird with the # matching.
Submitted by
anonymous
-
a year ago
(Last modified a year ago)
1
SGML Element (.Net)
PCRE2 (PHP >=7.3)
Parses an SGML . Doesn't support name groups. Probably imperfect in other ways. Note this is crafted for .Net as things get a little weird with # matching.
Submitted by
Scott Bednar
-
a year ago
1
Tag Extractor for Sonarr V3 Release Profiles
PCRE2 (PHP >=7.3)
Better migrate everything to custom format after updating to Sonarr V4!
Submitted by
anonymous
-
a year ago
1
...
343
344
345
346
347
...
902
Community Library Entry
0
Regular Expression
PCRE (PHP <7.3)
/
[
123
]
+
(
123
)*
2
/
Open regex in editor
Description
/[123]+(123)*2/ Input: 1,2,3,4,5,6,7,8,9,0,10,11,12,13,14,15,16 Find: 12
Submitted by
Tomer Levi
-
10 years ago