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 18,040 community submitted regex patterns...
-1
Check mysql Date
PCRE (PHP <7.3)
Valid format YYYY-MM-DD
Submitted by
anonymous
-
8 years ago
-1
Emoji
PCRE (PHP <7.3)
Find emoji's in strings.
Submitted by
Nathaniel Blackburn
-
8 years ago
-1
freeCodeCamp: Restrict Possible Usernames
PCRE (PHP <7.3)
Usernames are used everywhere on the internet. They are what give users a unique identity on their favorite sites. You need to check all the usernames in a database. Here are some simple rules that users have to follow when creating their username. 1) The only numbers in the username have to be at...
Submitted by
anonymous
-
7 years ago
-1
Passwords
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
Website (scheme,host,port,path and query)
PCRE (PHP <7.3)
This is regex for website url matching scheme,host,port,path and query. I did it because in c#, class Uri does not understand urls without scheme and says that 'google.com' is invalid url.
Submitted by
anonymous
-
7 years ago
-1
Discord Emojis
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
Accept Language Header parser
PCRE (PHP <7.3)
parses accept language http header groups: language code iso-693-1 without country specification preference quality value
Submitted by
schunka
-
7 years ago
-1
Format RMarkdown Tables
PCRE (PHP <7.3)
Pipe tables format for R Markdown
Submitted by
anonymous
-
7 years ago
-1
ISO 8601 date regex with check of number of day in a month
PCRE (PHP <7.3)
Regex for date in ISO 8601 format that also check the number of day in a month to be sure the date is valid
Submitted by
anonymous
-
7 years ago
-1
IP Address validator
ECMAScript (JavaScript)
Validates IPv4 IP Address
Submitted by
krzysp, fty4
-
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
-
7 years ago
-1
sorry guys - uploaded by fat fingers and can't delete
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
Find linked files
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
-1
e-mail
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
-1
Email validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-1
Phone numbers USA
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
7 years ago
-1
Extract brazilian DDD and phone number
PCRE (PHP <7.3)
Extract brazilian DDD and phone number
Submitted by
Anderson Rodrigues
-
7 years ago
-1
rlike-regex
PCRE (PHP <7.3)
vyhledani netisknutelnych znaku .rlike("[\\x00-\\x1F\\x7F]")
Submitted by
anonymous
-
7 years ago
-1
test
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
-1
Password check
PCRE (PHP <7.3)
12 characters minimum at least 1 capital letter at leat 1 minuscule letter at least 1 number at least 1 special character
Submitted by
anonymous
-
6 years ago
1
...
521
522
523
524
525
...
902
Community Library Entry
-2
Regular Expression
ECMAScript (JavaScript)
/
^
(?!
$
)
M
{0,2}
(?:
M
(?=
CM
(?:
XC
)?
(?:
IX
)?
$
)
)?
(?:
C
(?=
M
[^
CD
]
*
(?:
XC
)?
[^
CD
]
*
$
)
)?
M
?
(?:
C
(?=
D
[^
C
]
*
(?:
XC
)?
[^
C
]
*
$
)
)?
D
?
C
{0,2}
(?:
C
(?=
XC
(?:
IX
)?
$
)
)?
(?:
X
(?=
C
[^
X
]
*
(?:
IX
)?
[^
X
]
*
$
)
(?!
.
*
L
)
)?
C
?
(?:
X
(?=
L
[^
X
]
*
(?:
IX
)?
[^
X
]
*
$
)
)?
L
?
X
{0,2}
(?:
X
(?=
IX
$
)
)?
(?:
I
(?=
[
XV
]
$
)
)?
X
?
V
?
I
{0,3}
$
/
Open regex in editor
Description
This regex matches roman numbers from 1 (I) to 3999 (MMMCMXCIX)
Submitted by
Nicolò Ribaudo
-
9 years ago