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,400 community submitted regex patterns...
-1
Remove HTML tags from a string using JavaScript and RegEx
ECMAScript (JavaScript)
Remove HTML tags from a string using JavaScript and RegEx
Submitted by
Megralo
-
2 years ago
-1
Email
ECMAScript (JavaScript)
validation email
Submitted by
anonymous
-
2 years ago
-1
Extract favicon from html head meta links
ECMAScript (JavaScript)
I needed a generic way to pull the shortcut icon for sites. This expression parses the html for the icon. If the icon was not found, my code checks for the "favicon.ico" in the root of the site.
Submitted by
groundh0g
-
2 years ago
-1
Matching un-wrapped HTML & CSS code blocks in Markdown
ECMAScript (JavaScript)
PATTERNS RegEx Flavour ECMAScript (JavaScript, ActionScript, TypeScript, etc.) ...
Submitted by
anonymous
-
a year ago
-1
GitHub issue link
ECMAScript (JavaScript)
todo
Submitted by
sadespresso
-
a year ago
-1
Email with (TLD match)
ECMAScript (JavaScript)
Match an email address and the TLD (.com, .net, .org etc) String: test@test.net Matches: test@test.net|.net
Submitted by
Frosty
-
a year ago
(Last modified a year ago)
-1
IPv4 Address Match
ECMAScript (JavaScript)
Matches IP addresses
Submitted by
jimbrig
-
a year ago
-1
匹配引号内容/match quotation mark content
ECMAScript (JavaScript)
匹配带引号内容,被引号包含的内容 结构($x) ((前引号)(内容)(后引号)) 整体内容(包含引号)...
Submitted by
诶!你的尾巴掉了
-
10 months ago
(Last modified 10 months ago)
-2
Header `Link` validator
ECMAScript (JavaScript)
no description available
Submitted by
Vaseker
-
10 years ago
-2
Date Validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
-2
Roman numbers
ECMAScript (JavaScript)
This regex matches roman numbers from 1 (I) to 3999 (MMMCMXCIX)
Submitted by
Nicolò Ribaudo
-
9 years ago
-2
Multiple Email Address Validation
ECMAScript (JavaScript)
Validates Multiple email addresses seperated by comma.
Submitted by
Rajesh Badam
-
9 years ago
-2
email regexp
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
7 years ago
-2
Match whitespace and colon, except in specific words
ECMAScript (JavaScript)
For string splitting / deconstructing
Submitted by
anonymous
-
2 years ago
-2
Codeforces 1800A Solution
ECMAScript (JavaScript)
By inserting this regex in a programming language to test it against Codeforces 1800A you'll solve the task
Submitted by
EntityPlantt
-
10 months ago
0
author from tag
ECMAScript (JavaScript)
no description available
Submitted by
imilov
-
9 years ago
0
handlebars template match
ECMAScript (JavaScript)
returns all the handlebars elements in a line - returns {{...}} for each instance found Matches the following test {{sss}} s {{rrr}} dkdksl {{dds}} {{ dhre }} {{je ss}} returns ['{{sss}}','{{rr}}','{{dds}}','{{ dhre }}','{{je ss}}']
Submitted by
anonymous
-
8 years ago
0
Telefonnummer E.123
ECMAScript (JavaScript)
no description available
Submitted by
Frank Mattes
-
8 years ago
0
Cartão de Crédito ELO
ECMAScript (JavaScript)
Realiza a identificação dos novos BIN's de cartão de crédito ELO.
Submitted by
mkrypka
-
8 years ago
0
Numbers Only
ECMAScript (JavaScript)
valid only for alpha numeric values ,Its invertion of number check operation return false if number return true if alpha numeric
Submitted by
deadpool
-
8 years ago
1
...
78
79
80
81
82
...
170
Roman numbers
-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