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 5,660 community submitted regex patterns...
1
File extension
ECMAScript (JavaScript)
Retrieve the file extension of a filename
Submitted by
anonymous
-
2 years ago
1
Remove trailing commas of PHP array and functions
ECMAScript (JavaScript)
This expression looks for sequences of PHP arrays, either closed with ] or ) with unnecessary trailing commas and captures the content divided into three parts, except by the comma itself. You can use it to search an replace in editors like VSCode like this: Search: ([\])]),(\s\n\s*)([\])]) Replac...
Submitted by
Mateus Machado Luna
-
2 years ago
1
Changelog
ECMAScript (JavaScript)
Find and change changelog version numbers in a CHANGELOG.md file.
Submitted by
Joshua
-
2 years ago
1
Números decimales y exponenciales aislados
Python
Hace coincidir números decimales y exponenciales aislados para el sistema de numeración decimal. 22e22 22e+22 +22e22 +22e+22 22.22 22. .22 22.e22 22.e+22 22.22e22 22.22e+22 .22e22 .22e+22 88e 88e+ e88 e+88 88e88.
Submitted by
Johnny Alonso
-
2 years ago
(Last modified 2 years ago)
1
Regex de validação de número celular e fixo | JS (ECMAScript)
ECMAScript (JavaScript)
Regex validação número celular e fixo Somente números nacionais Com ou sem DDI 55 (com ou sem + e/ou 00) DDD obrigatório (com ou sem parênteses) Com ou sem Dígito 9...
Submitted by
anonymous
-
2 years ago
1
telephone_founder
Python
with obfuscation
Submitted by
anonymous
-
2 years ago
1
Markdown link
.NET 7.0 (C#)
Regex for parsing markdown link. Named group "text", "url" and "alt.
Submitted by
anonymous
-
2 years ago
1
Get IDs from Discord message link
ECMAScript (JavaScript)
This regex captures the IDs in a message link in separate capture groups. Warning: Due to my personal use case, it doesn't care if it's a real Discord message URL. You can pretty easily add that yourself if you need it tho. Capturing groups: Match 1: The whole ID string starting with / and may be e...
Submitted by
SIMPLE MARK
-
2 years ago
1
RFC5322-Email-Id-WHATWG
ECMAScript (JavaScript)
RFC5322 with WHATWG standard email id regex pattern
Submitted by
Sivanesan
-
2 years ago
1
ISO 8601:2004E Duration
.NET 7.0 (C#)
Regex for validating ISO 8601:2004E durations, complete with named capture groups.
Submitted by
Sakura Akeno Isayeki
-
2 years ago
1
Find Matching Parenthesis, Brackets, and Curly Brackets
ECMAScript (JavaScript)
Given a string, find matching parenthesis, brackets, and/or curly brackets.
Submitted by
Matthew Hiebing
-
2 years ago
1
Japanese Characters matching
ECMAScript (JavaScript)
Regex for Matching Jap Romaji Chars. I am in the middle of making an interface for Anki that works life wanikani. This way I can practice my own cards instead of a set syllabus. For that I need to make a Japanese Kana input, so I went with the good old regex to match all the romaji groups which ca...
Submitted by
Aashay Thakur
-
2 years ago
(Last modified 2 years ago)
1
Decimal number
ECMAScript (JavaScript)
Matches any decimal number. Supports positive/negative sign, thousands separators, and implicit zeros.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Unformatted Decimal number
ECMAScript (JavaScript)
Matches any mathematically correct decimal number which is not formatted.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Unformatted Dozenal number
ECMAScript (JavaScript)
Matches any mathematically correct dozenal number which is not formatted.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Dozenal number
ECMAScript (JavaScript)
Matches any dozenal number. Supports positive/negative sign, thousands separators, and implicit zeros.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Dozenal number (Restricted)
ECMAScript (JavaScript)
Matches dozenal numbers. Supports positive/negative sign and thousands separators.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
Decimal number (Restricted)
ECMAScript (JavaScript)
Matches decimal numbers. Supports positive/negative sign and thousands separators.
Submitted by
XeNoX (D:T0M11#1774, G/XNX11, i@xenox_officiel, T@XeNoXoff)
-
2 years ago
1
ISBN-10
ECMAScript (JavaScript)
Regex that matches the old ISBN-10 format and captures all relevant groups. It does not verify that the ISBN is valid though. The format specification is based on the following website: https://isbn-information.com/the-10-digit-isbn.html and the International ISBN Agency user's manual.
Submitted by
Alejandro
-
2 years ago
1
ISBN-13
ECMAScript (JavaScript)
Regex that matches the new (as of 2007) ISBN-13 format and captures all relevant groups. It does not verify that the ISBN is valid though. The format specification is based on the following website: https://isbn-information.com/the-13-digit-isbn.html and the International ISBN Agency user's manual.
Submitted by
Alejandro
-
2 years ago
1
...
252
253
254
255
256
...
283
Community Library Entry
0
Regular Expression
ECMAScript (JavaScript)
/
^
@
[^
=
]
*
?
=
(?<badgeinfo>
.
*
?
)
;
[^
=
]
*
?
=
(?<badges>
.
*
?
)
;c
[^
=
]
*
?
=
(?<clientNonce>
.
*
?
)
;
[^
=
]
*
?
=
(?<color>
.
*
?
)
;
[^
=
]
*
?
=
(?<name>
.
*
?
)
;
[^
=
]
*
?
=
(?<emojis>
.
*
?
)
;
[^
=
]
*
?
=
(?<firstMsg>
.
*
?
)
;
[^
=
]
*
?
=
(?<flags>
.
*
?
)
;
[^
=
]
*
?
=
(?<id>
.
*
?
)
;
[^
=
]
*
?
=
(?<mod>
.
*
?
)
;
[^
=
]
*
?
=
(?<returningChatter>
.
*
?
)
[^
=
]
*
?
=
(?<roomId>
.
*
?
)
;
[^
=
]
*
?
=
(?<sub>
.
*
?
)
;
[^
=
]
*
?
=
(?<tmi>
.
*
?
)
;
[^
=
]
*
?
=
(?<turbo>
.
*
?
)
;
[^
=
]
*
?
=
(?<userId>
.
*
?
)
;
[^
=
]
*
?
=
(?<userType>
.
*
?
)
:
[^
=
]
*
?
:
(?<message>
.
*
)
/
gm
Open regex in editor
Description
Matches the data sent by the twitch IRC and captures into various groups
Submitted by
Bucky
-
a year ago
(Last modified a year ago)