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 540 community submitted regex patterns...
1
Initializing identifiers
.NET 7.0 (C#)
Initializing identifiers
Submitted by
anonymous
-
a year ago
1
Rust type-like ident casing
Rust
Matches built-in primitives and identifiers with casing conventionally used for type/constant names.
Submitted by
Neel Yadav
-
a year ago
1
Gradient for minecraft
Java 8
This is for my plugin project
Submitted by
Trần Thế Anh
-
a year ago
1
verifyIPV6
Java 8
verificare indirizzo IPV6 (regole base)
Submitted by
Luigi Piccinni
-
a year ago
1
文件名称验证
Java 8
操作系统文件名称验证,参考了Windows,Linux,Mac
Submitted by
腾龙问天
-
10 months ago
1
Discord AutoMod Advert (Strict)
Rust
Use this with Discord automod. Bear in mind, this is "Strict" because it will block discord.gg/myad AND other links such as dsc.gg/myad
Submitted by
dogknife
-
10 months ago
(Last modified 8 months ago)
1
Discord Anti Advertisement
Rust
Discord AutoMod Regex Use this Regex with Discord's built-in automod to prevent all invite URLs. This will block discord.gg/ad but not .gg/ad Consider seeing my "strict" version otherwise.
Submitted by
dogknife
-
10 months ago
(Last modified 8 months ago)
1
Discord Anti-Advertisement 2
Rust
Pair this with my Discord AutoMod Anti Advertisement for full protection against invites. Use this with Discord's Built In AutoMod.
Submitted by
dogknife
-
10 months ago
(Last modified 8 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
-
8 months ago
1
ActivityWatcher
.NET 7.0 (C#)
sda
Submitted by
anonymous
-
8 months ago
1
.*(EXCEL[.]EXE).*(?i)(Maxicredito).*([.]xlsx - Excel)
.NET 7.0 (C#)
.(EXCEL[.]EXE).(?i)(Maxicredito).*([.]xlsx - Excel)
Submitted by
anonymous
-
8 months ago
1
IANA Media Type
Java 8
Parses an IANA Media Type value. Doesn't seem to capture repeating parameters, which is a bit of an edge case but valid I think - any suggestions on how to fix would be appreciated.
Submitted by
scottbdr
-
7 months ago
1
GS1 Transport Label (EAN-128) and parse the application identifiers datafields
.NET 7.0 (C#)
A regex to parse the GS1-128 transport / shipping label from multiple EAN-128. The Regex is generated from the offical GS1 specification will identify all datafields Like for example AI 00: Serial Shipping Container Code (SSCC) AI 01: Global Trade Item Number (GTIN) AI 02: Identification of trade i...
Submitted by
anonymous
-
7 months ago
(Last modified 7 months ago)
1
AWS EventBridge Scheduling Expressions
Java 8
This validates AWS EventBridge scheduling expressions using the rate() and cron() formats. It may not catch all invalid expressions, but it should properly validate all valid expressions, as demonstrated in the unit tests. Please let me know if I missed any valid expressions. Originally attempted ...
Submitted by
Evan S Kaufman <evan@evanskaufman.com>
-
7 months ago
(Last modified 5 months ago)
1
Parse Address - Prefecture
Java 8
get prefecture from Japanese address
Submitted by
Gary Ascuy
-
7 months ago
1
PrivtBank Receipt Parser vx520
.NET 7.0 (C#)
PrivtBank Receipt Parser vx520
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
1
PrivtBank Receipt Parser
.NET 7.0 (C#)
PrivtBank Receipt Parser
Submitted by
anonymous
-
6 months ago
(Last modified 6 months ago)
1
INI Parser
.NET 7.0 (C#)
This regular expression has the following features that make it a convenient tool for working with text data. (?=\S) Positive lookahead, trims leading whitespace in text block. (? ... ) Group for text block, which can be comment, section, entry, or undefined string. (? ... ) Group for comment. Incl...
Submitted by
Pavel Bashkardin
-
6 months ago
(Last modified a month ago)
1
T-SQL find comments in script
.NET 7.0 (C#)
Finds the comments in a t-sql (tsql) script
Submitted by
Paw Jershauge
-
6 months ago
1
Госуслуги - сопроводительное письмо (недопустимые символы)
.NET 7.0 (C#)
Если вы подаёте электронное заявление через портал Госуслуг и набираете текст в стороннем редакторе, то при попытке отправить такое заявление может появиться ошибка о наличии недопустимых символов. С помощью этого регулярного выражения вы сможете найти недопустимые символы и скорректировать текст с...
Submitted by
NG256
-
5 months ago
1
...
23
24
25
26
27
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
-
6 months ago
(Last modified 6 months ago)