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
ChatGPT multiline expressions for Obsidian Latex
Python
convert the multiline expressions into obsidian latex compatible. That is add - $$...$$
Submitted by
myaitree
-
2 days ago
1
Markdown Titles
Python
increase the head level of the markdown titles - that is add extra #.
Submitted by
myaitree
-
2 days ago
1
Mermaid brackets
Python
Mermaid brackets are enclosed in inverted commas for validity
Submitted by
myaitree
-
2 days ago
1
Comprehensive URL Validation Regex
Python
This regex pattern is designed to validate URLs with the following key features: Protocol Support: Optionally matches http:// or https://. Subdomain Handling: Supports optional www. and valid subdomains. Domain Name Validation: Ensures proper formatting of domain names: Prevents double hyphe...
Submitted by
Hadi Mousavi
-
5 days ago
1
Quality Value, RFC 9110 HTTP Semantics.
ECMAScript (JavaScript)
To extract the Quality Value (qvalue) according the RFC 9110 HTTP Semantics specifications from the weight of HTTP headers elements, like: Accept-Language Accept Accept-Charset Accept-Encoding TE...
Submitted by
Daniel D'Leon
-
9 days ago
1
[React TypeScript] - Unnecessary brackets around strings
ECMAScript (JavaScript)
Matches string properties that unnecessarily use brackets in React components. NOTE: If you're looking to harmonise your quote usage, use this substitution input: $1"$3$4" ...
Submitted by
Nathanthanthan
-
9 days ago
(Last modified 9 days ago)
1
[React TypeScript] - Unnecessary backticks
ECMAScript (JavaScript)
Matches string properties that unnecessarily use backticks in React components. NOTE: This regex ignoes backtick strings that contain BOTH quotes (") AND single quotes (') but it WILL match backtick strings with ONLY quotes or ONLY single quotes! Keep this in mind if you want to use substitution! ...
Submitted by
Nathanthanthan
-
9 days ago
(Last modified 9 days ago)
1
Regex for Validating Egyptian Mobile Numbers with Specific Operator Codes
PCRE2 (PHP >=7.3)
This regular expression is designed to validate Egyptian mobile phone numbers by ensuring they conform to the following format: Country Code: The number must start with +20, representing Egypt's international dialing code. Mobile Networks: (Vodafone: 10, e&:11, Orange:12, we:15) Operator Code: The ...
Submitted by
Mohamed Amir
-
11 days ago
1
punctuation detector
PCRE2 (PHP >=7.3)
removes punctuation
Submitted by
anonymous
-
12 days ago
1
Hexadecimal
ECMAScript (JavaScript)
Only matches if the entire string is in hexadecimal format
Submitted by
anonymous
-
13 days ago
1
Discord emoji & Markdown links
Rust
NOTE The word text is used to substitute all alphanumeric characters as well as underscores ([a-zA-Z0-9_]). Captures: ...
Submitted by
anonymous
-
15 days ago
(Last modified 15 days ago)
1
js-br
ECMAScript (JavaScript)
teste
Submitted by
anonymous
-
16 days ago
1
Parse EPICS Substitution files
PCRE2 (PHP >=7.3)
Extracts the file name and substitution pattern for each entry in an EPICS substitution file. See https://docs.epics-controls.org/projects/base/en/latest/msi.html#dbloadtemplate-format for a description of the file format being parsed
Submitted by
Giles Knap
-
18 days ago
1
prevent double zeros
ECMAScript (JavaScript)
prvent double zeros also decimals
Submitted by
bilal
-
18 days ago
1
OBprefix
ECMAScript (JavaScript)
Frequently-used prefix regex expressions without quote form in Obsidian plugins.
Submitted by
anonymous
-
19 days ago
(Last modified 19 days ago)
1
quote-OBprefix
ECMAScript (JavaScript)
Frequently-used prefix regex expressions with quote form in Obsidian plugins.
Submitted by
YaoYYoung
-
19 days ago
(Last modified 19 days ago)
1
Imiona i nazwiska
PCRE2 (PHP >=7.3)
Imiona i nazwiska
Submitted by
anonymous
-
20 days ago
(Last modified 17 days ago)
1
Paragraph Delimiter Counter (Unicode-Aware)
.NET 7.0 (C#)
Finds all paragraphs in the input text, where a paragraph is defined as any occurrence of a non-whitespace character immediately following any of the following and any other preceding whitespace: 2 or more consecutive CRLF sequences 2 or more consecutive CR characters 2 or more consecutive LF cha...
Submitted by
dodexahedron
-
25 days ago
(Last modified 25 days ago)
1
advent of code 2024 day3
Golang
regex of challenge
Submitted by
Marcell Martini
-
a month ago
(Last modified 25 days ago)
1
Advent of code 2024 day 3 step 2
PCRE2 (PHP >=7.3)
https://adventofcode.com/2024/day/3 I am wondering if there's a way to have mul do and don't appear under the same group
Submitted by
anonymous
-
a month ago
(Last modified a month ago)
1
2
3
...
902
Community Library Entry
1
Regular Expression
.NET 7.0 (C#)
@"
.
*
сума:
\s
+
(?<suma>
\d
{1,5}
[
.,
]
\d
{1,2}
)
.
*
\\
n
(?<issuerName>
.
*
)
(?<pan>
[
0
-
9X
]
{16}
)
.
*
нал:
\s
(?<terminalId>
[
A
-
Z0
-
9
]
{8}
)
.
*
авторизації:
\s
(?<approvalCode>
\d
{1,10}
)
.
*
чек
\s
N:
\s
(?<chq>
\d
{1,10}
)
.
*
rrn:
\s
(?<rrn>
\d
{1,15}
)
"
mi
Open regex in editor
Description
PrivtBank Receipt Parser
Submitted by
anonymous
-
9 months ago
(Last modified 9 months ago)