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 3,800 community submitted regex patterns...
-1
Replace comma separated decimals (comma instead of point)
ECMAScript (JavaScript)
Matches, line by line, a comma separated list of decimal numbers with comma as decimal character (Spanish way) Produces a list of comma separated pairs (space separated innermost) of decimal numbers with point as decimal character (English way)
Submitted by
Bruno A. Castro
-
8 years ago
-1
DD/MM/YYYY
ECMAScript (JavaScript)
no description available
Submitted by
nehakadam
-
8 years ago
-1
Only letters without numbers
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
-1
Arabic AlphaNumeric
ECMAScript (JavaScript)
Arabic AlphaNumeric text
Submitted by
Ahmed
-
8 years ago
-1
Sri Lankan NIC Regex
ECMAScript (JavaScript)
Regular Expression to validate NIC of Sri lankna (National Identity Card)
Submitted by
Sithira Munasinghe
-
8 years ago
-1
North America - US - N11 Service Number - e.164 compliant/non-compliant
ECMAScript (JavaScript)
This expression can be used for identifying if a string (such as a dialed number using a cloud based telephony service) matches one of the known North American US N11 Service Numbers. It will match if the number is in e.164 format or not, and only matches when the string begins and ends with the des...
Submitted by
Benjamin Dean
-
8 years ago
-1
get only ids
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
8 years ago
-1
Passwords
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
Discord Emojis
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
balanced parenthesis match
ECMAScript (JavaScript)
break the code to first opening parenthesis and then closing use the groups individually not entirely . This is 40% correct online pattern but mixing it with first open then close groups in two different matches result in 100% success
Submitted by
Muhammed
-
6 years ago
-1
sorry guys - uploaded by fat fingers and can't delete
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
-1
Email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
-1
Any combo of space and dash
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
-1
Slug
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
3 years ago
-1
Is String having proper quotes around it
ECMAScript (JavaScript)
Language : Javascript Description : This will helpful for validating contents from a text editor where all the values are string and you need to verify that string must be a single string having quotes around it. Note : This regex is best applicable by trimming the string before checking with thi...
Submitted by
PranomVignesh<pranomvignesh@gmail.com>
-
3 years ago
(Last modified 3 years ago)
-1
IPv4 Matcher
Java 8
This RE is divided into four parts. The first three parts are acceptable numbers from 0 to 255 followed by "." The last part is an acceptable number but not followed by "."
Submitted by
EMAM1999
-
3 years ago
-1
rtrtr
Golang
gtgtg
Submitted by
anonymous
-
3 years ago
-1
Strip from Token to End of Line
ECMAScript (JavaScript)
Utilize " -- " as a Token and strips from the token to the end of the line.
Submitted by
anonymous
-
3 years ago
-1
validade email
ECMAScript (JavaScript)
this regex validates e-mails. const isValid= .text(value)
Submitted by
anonymous
-
3 years ago
-1
Match all but string content
ECMAScript (JavaScript)
Match all but string content
Submitted by
luizandress
-
3 years ago
1
2
3
4
5
6
...
190
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