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
Highest Score
Lowest Score
Most upvotes
Most downvotes
Filter by Flavor
PCRE2 (PHP >=7.3)
PCRE (PHP <7.3)
ECMAScript (JavaScript)
Python
Golang
Java 8
.NET 7.0 (C#)
Rust
Sponsors
Community Patterns
Search among 13,020 community submitted regex patterns...
1
Smax micro focus Web ports regex
ECMAScript (JavaScript)
Smax micro focus Web ports regex
Submitted by
Resul MUŞLU
-
2 months ago
1
RM
ECMAScript (JavaScript)
Smax Micro Focus Regex
Submitted by
Resul MUŞLU
-
2 months ago
(Last modified 2 months ago)
1
IPv4 address with optional CIDR suffix
ECMAScript (JavaScript)
Matches any valid IPv4 address with, optionally, a CIDR suffix. 0.0.0.0 to 255.255.255.255 and 1.1.1.1/0 to 1.1.1.1/32. Use the following regex if you don't want to allow the CIDR suffix. /^(?:(?:[1-9]?[0-9]|10-9|2(?:0-4|5[0-5]))\.){3}(?:[1-9]?[0-9]|10-9|2(?:0-4|5[0-5]))$/...
Submitted by
MAZ01001
-
2 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
-
3 months ago
1
Detect Multiple File Extensions
PCRE (PHP <7.3)
I use this to find files with two or more extensions (i.e. file.txt.txt). This will work with files with 3 or 4 character or numeric (or both) file extensions (i.e. pdf, xlsx).
Submitted by
Curve
-
3 months ago
(Last modified 3 months ago)
1
URL
ECMAScript (JavaScript)
Match a URL and capture its parts. Please suggest your improvements.
Submitted by
Lamer217
-
3 months ago
1
JavaScript number literals
ECMAScript (JavaScript)
Should match any valid JavaScript number literal incl. bigint. See EDIT 4 in this StackOverflow answer by me for matching JS numbers. open in regex101 editor - example matches and unit tests\ Regulex%7C%5BoO%5D%3F%5B0-7%5D(%3F%3A_%3F%5B0-7%5D%2B)%7C%5BxX%5D%5B0-9a-fA-F%5D(%3F%3A_%3F%5B0-9a-fA-F%5D%...
Submitted by
MAZ01001
-
3 months ago
(Last modified 8 days ago)
1
Excel CSV Parser
ECMAScript (JavaScript)
I'm dealing quite a lot w this. This CSV Parser is used for Js (particularly for my current project wrting script for After Effects through ExtendScript)
Submitted by
binguine
-
3 months ago
1
Randomizer Template
ECMAScript (JavaScript)
Randomizer Template
Submitted by
HoshinoSuzumi<master@uniiem.com>
-
3 months ago
(Last modified 3 months ago)
1
Remover \x160 e arrumar texto para dados com tabulação
ECMAScript (JavaScript)
Remove caracteres ocultos (\x160) e arruma textos com espaços extras antes e depois da palavra para dados tabulados (com tab)
Submitted by
Danilo Ikebara
-
3 months ago
(Last modified 3 months ago)
1
Quartz CRON Validation with groups
ECMAScript (JavaScript)
CRON validation Validates CRON pattern (Quartz) and supports groups. Useful for e.g. typescript or other typed languages. The following greoups are covered: second...
Submitted by
Nico Vitt
-
3 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
-
4 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
-
4 months ago
(Last modified 4 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
-
4 months ago
(Last modified 4 months ago)
1
Chinese Digits
PCRE (PHP <7.3)
Match Chinese Digits less than 1×10^16, such as “一千两百三十四万”、“八萬点七六五”、“玖仟玖佰玖拾玖万玖仟玖佰玖拾玖亿玖仟玖佰玖拾玖万玖仟玖佰玖拾玖点玖玖玖玖玖玖玖玖玖玖玖玖玖玖玖玖”,Upper and lower case Chinese can be mixed, but Chinese numbers and English numbers cannot be mixed. Illegal numbers will not be matched. For example: “两十六” will not be matched, as t...
Submitted by
anonymous
-
4 months ago
(Last modified 3 months ago)
1
Lakar Detector from Astadhyayi source text
ECMAScript (JavaScript)
// 1st: aashirling or vidhiling matches. empty string otherwise. // 2nd: i or e or o or r of lakar name l_ट or l_ङ. "" when अ. // 3rd: ट or ङ. // 4 through 13 are 9 dhatu forms Purusha(/)].
Submitted by
anonymous
-
4 months ago
(Last modified 4 months ago)
1
NPC名称匹配
PCRE (PHP <7.3)
^\h{4}段首4个横向空格 +不包含左括号、换行符号的其他字符,1~无限循环 \((.*)\)$捕获处于()之中的任意字符内容,右括号在段尾
Submitted by
vicrly
-
5 months ago
1
Match non LATIN-9 (ISO 8859-15) characters
ECMAScript (JavaScript)
Matches all non LATIN-9 (ISO 8859-15) characters.
Submitted by
anonymous
-
5 months ago
1
Youtube redirect regex
ECMAScript (JavaScript)
Separate the youtube tracking redirect link to its main companions Version 1 Python PHP Version 2...
Submitted by
TS
-
5 months ago
(Last modified 5 months ago)
1
Persian and English Title and Name and Address
ECMAScript (JavaScript)
it is a validator for name, title, address or any texts what need only accept persian-arabic alphabet and english. additional some characters like - ,
Submitted by
saebkhanzadeh
-
5 months ago
1
2
3
4
...
651
Storyblok Img2
0
Regular Expression
ECMAScript (JavaScript)
/
^
(?<modifiers>
\/
(?<crop>
\d
+
x
\d
+
:
\d
+
x
\d
+
)?
\/
?
(?<resize>
(?<flipx>
\-
)?
(?<width>
\d
+
)
x
(?<flipy>
\-
)?
(?<height>
\d
+
)
)?
\/
?
(?<filters>
filters
\:
(
[^
,
\/
]
+
,
)*
(?:
format
\(
(?<format>
\w
+
)
\)
)?
[^
\/
]
*
\/
?
)?
)?
(?<id>
\/
f
\/
.
+
)
$
/
mg
Open regex in editor
Description
Parse img2.storyblok.com URLs
Submitted by
anonymous
-
a year ago
(Last modified a year ago)