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
There are currently no sponsors.
Become a sponsor today!
Community Patterns
Search among 3,700 community submitted regex patterns...
0
single line possibly comma delimited list and end of list
ECMAScript (JavaScript)
for react props
Submitted by
Zach Hardesty
-
2 years ago
0
parse chemical formula
ECMAScript (JavaScript)
formulacharge)
Submitted by
anonymous
-
2 years ago
0
Parse ping results
ECMAScript (JavaScript)
Parse the result of a ping, line by line
Submitted by
Heydok
-
2 years ago
(Last modified 2 years ago)
0
Any domain finder
ECMAScript (JavaScript)
This regex made by me, finds any domain which contains https:// or the unsafe version, http://.
Submitted by
Rix The Regex Maker
-
2 years ago
0
Find Discord role
ECMAScript (JavaScript)
Use this regex to find any mention for a role. @& is a mention for a role
Submitted by
Olympic1
-
2 years ago
0
Find Discord user
ECMAScript (JavaScript)
Use this regex to find any mention for an user. @ is a mention for the registered name of an user @! is a mention for the nickname of an user
Submitted by
Olympic1
-
2 years ago
0
Find Discord channel
ECMAScript (JavaScript)
Use this regex to find any mention for a channel. # is a mention for a text channel #! is a mention for a voice channel
Submitted by
Olympic1
-
2 years ago
0
Replacing URL through Hyperlink in Text
Golang
Replacing URL through Hyperlink in Text
Submitted by
anonymous
-
2 years ago
3
Extract URL parts only named capturing groups
Golang
Extract URL parts only named capturing groups
Submitted by
dixanms
-
2 years ago
1
Telegram Markdown Escaping Backslashed asterisks
ECMAScript (JavaScript)
Telegram Markdown V2's bold (`) can be escaped by using \`. RegExp to validate it and get the actual contents inside.
Submitted by
dcdunkan
-
2 years ago
1
Decimal (with dot)
ECMAScript (JavaScript)
Decimal with a dot, if has a dot it needs a number following it
Submitted by
anonymous
-
2 years ago
1
Anything sorounded by " "
ECMAScript (JavaScript)
Match anything inside double quote string and set the first capture group with the content
Submitted by
anonymous
-
2 years ago
0
chia plot
Golang
chia plot
Submitted by
temple
-
2 years ago
0
Password
ECMAScript (JavaScript)
Password regular expression
Submitted by
AhbapAldırma
-
2 years ago
0
Certificate
ECMAScript (JavaScript)
Certificate
Submitted by
anonymous
-
2 years ago
0
parse valid time
ECMAScript (JavaScript)
parse valid time modified slightly from https://regexland.com/regex-time-am-pm/
Submitted by
me
-
2 years ago
0
rwd
ECMAScript (JavaScript)
rwd
Submitted by
anonymous
-
2 years ago
0
Cbre bookingid
ECMAScript (JavaScript)
a
Submitted by
anonymous
-
2 years ago
0
Google Analytics Pattern
ECMAScript (JavaScript)
Padrão de formatação do Google analytics usando o identificador universal UA e prevendo que a base de usuários pode crescer, conforme discusão em
Submitted by
@brunosf
-
2 years ago
1
<input type="number" /> pattern
ECMAScript (JavaScript)
As 'number' is not implemented by all browsers, you can check your value with this RegExp.
Submitted by
Ann MB
-
2 years ago
(Last modified 2 years ago)
1
...
34
35
36
37
38
...
185
Currency with dollar sign, two decimals, negative allowed, starting with period ok
2
Regular Expression
ECMAScript (JavaScript)
/
^
(?:
[
$
]
(
\s
{0,1}
)
|)
[
+-
]
?
(
\d
{1,3}
,
?
(
\d
{3}
,
?
)*
\d
{3}
(
\.
\d
{0,2}
)?
|
\d
{1,3}
(
\.
\d
{0,2}
)?
|
\.
\d
{1,2}
?
)
$
/
gm
Open regex in editor
Description
Currency with dollar sign, two decimals, negative allowed, starting with period ok
Submitted by
Natalia Zolotareva
-
2 years ago