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 3,640 community submitted regex patterns...
1
get number and unit in string
ECMAScript (JavaScript)
match int or float number, and following word (unit for example)
Submitted by
Etienne Goumet
-
9 years ago
1
country name
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
CSS URL parser tilde only
ECMAScript (JavaScript)
Find any url('~filename.jpg'). URL must contain tilde
Submitted by
@adjavaherian
-
9 years ago
3
Match a URL from a text message
ECMAScript (JavaScript)
I use this to match the first url present in a text message.
Submitted by
anonymous
-
9 years ago
0
SSN
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
Unicode username
ECMAScript (JavaScript)
Unicode user name check with som allowed non-alhanum characters
Submitted by
Martin Bucko
-
9 years ago
2
Portuguese phone numbers
ECMAScript (JavaScript)
Matches Portuguese phone numbers.
Submitted by
github.com/luis140219
-
9 years ago
-3
Html Tags
ECMAScript (JavaScript)
Matches HTML structure
Submitted by
sagar
-
9 years ago
3
Arrow function to Normal function
ECMAScript (JavaScript)
Convert Arrow Function to Normal Function
Submitted by
Abhisek Pattnaik
-
9 years ago
3
SemVer chain parsing
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
1
MM-DD-YYYY - Javascript Date with some validation
ECMAScript (JavaScript)
This is a regular expression for date in javascript. It validates the month between 01-12 (double digits only). It validates the day between 01-31 (double digits only). And enforces 4 digit year (no validation for range).
Submitted by
Andrew Leonenko
-
9 years ago
3
yyyy-MM-dd hh:MM
ECMAScript (JavaScript)
date format for "yyyy-MM-dd hh:MM" valid strict model.
Submitted by
image72
-
9 years ago
1
filter range
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
search all special characters
ECMAScript (JavaScript)
no description available
Submitted by
rlynjb
-
9 years ago
2
Date between 1950 and 2050
ECMAScript (JavaScript)
Date in format MM-dd-yyyy
Submitted by
Daniel Quijada
-
9 years ago
1
java
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
2
replace any character with more than two occurrence
ECMAScript (JavaScript)
no description available
Submitted by
papky
-
9 years ago
1
Check Date + time (DD/MM/YYYY HH:MM)
ECMAScript (JavaScript)
no description available
Submitted by
Mikael Georges
-
9 years ago
1
Alpha + Underscore
ECMAScript (JavaScript)
no description available
Submitted by
Sergio de la Garza
-
9 years ago
0
Arabic diacritics matching تحديد التشكيل العربي
ECMAScript (JavaScript)
It will match all Arabic diacritics in Arabic text, its useful to remove diacritics and to replace it with some css.
Submitted by
Emad Ghaly
-
9 years ago
1
...
9
10
11
12
13
...
182
Community Library Entry
2
Regular Expression
.NET 7.0 (C#)
@"
^
(
(
\+
?
(
61
\W
?
4
)
)
|
(
04
)
)
\W
?
(
(
[
0
-
9
]
{2}
\W
[
0
-
9
]
{3}
\W
[
0
-
9
]
{3}
)
|
(
[
0
-
9
]
{8}
)
|
(
[
0
-
9
]
{4}
\W
[
0
-
9
]
{4}
)
|
(
[
0
-
9
]
{2}
\W
[
0
-
9
]
{6}
)
)
$
"
Open regex in editor
Description
validates against multiple common formats
Submitted by
anonymous
-
2 years ago