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 12,980 community submitted regex patterns...
0
Find all Internet Explorer 11.x pkgmgr packages
PCRE (PHP <7.3)
This regex can be used to find all of the packages (.mum) files in the WINDIR%\servicing\Packages directory. I used it to remove the update packages from Winodws 7 pkgmgr /up:"filename" /norestart /quiet
Submitted by
Pressanykey
-
9 years ago
-2
Date Validation
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
9 years ago
0
UK Companies Registration Number
PCRE (PHP <7.3)
Checks that the number and optional prefix submitted are in a valid UK Companies House format.
Submitted by
Steve Haworth
-
9 years ago
0
Most SAS boundaries
PCRE (PHP <7.3)
Picks up %macro, %inc, data step, and proc boundaries.
Submitted by
Leo Lopes
-
9 years ago
0
SAS Boundaries version 3
PCRE (PHP <7.3)
Basic sas boundaries, %macro proc %include etc
Submitted by
Leo Lopes
-
9 years ago
0
Validate Semantic version numbering
PCRE (PHP <7.3)
This validates version numbers that adhear to the Semantic protocol e.g. in form of xx.xx.xx or 1.2.2
Submitted by
Al
-
9 years ago
0
#tagging tag form regex
PCRE (PHP <7.3)
hash tagging actual title or description format regex
Submitted by
rameespu@gmail.com
-
9 years ago
0
#tagging original form regex
PCRE (PHP <7.3)
#tagging original form regex
Submitted by
rameez rami
-
9 years ago
0
Unix file name from full path
PCRE (PHP <7.3)
Replace the forward slashes with back slashes for Windows
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
0
hidden項目デフォルト隠蔽
PCRE (PHP <7.3)
これを技術担当に見せれば理解してくれるはず。 '(]type="[text|hidden]"value=")(+)("*>)' このコードがデフォルトでClickTaleタグ内のJSに付与されてて、 これがあるとフォームで入力された項目等は全て【ーーーー】に...
Submitted by
井上
-
9 years ago
-2
float
PCRE (PHP <7.3)
matches 123.4f 123.4F .4f .4F 5f 5F
Submitted by
Mateusz Paluch
-
9 years ago
0
Search for foobar in a csv string
PCRE (PHP <7.3)
Search for foobar in a csv string
Submitted by
Balmark
-
9 years ago
-2
boolean
PCRE (PHP <7.3)
Value must be either true or false
Submitted by
nstaal
-
9 years ago
-2
Multiple Email Address Validation
ECMAScript (JavaScript)
Validates Multiple email addresses seperated by comma.
Submitted by
Rajesh Badam
-
9 years ago
0
regex buscar string u otro string
PCRE (PHP <7.3)
RegEx Multiples String seguido de un string fijo
Submitted by
profvalenzuela
-
9 years ago
-2
Parse all simple math expressions (decimals, whole, negative)
PCRE (PHP <7.3)
-2.02^3(2+3.024)+3.14159-(45^23)/(19-4)
Submitted by
anonymous
-
9 years ago
-1
Extract Java Exception Message Field
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
9 years ago
0
author from tag
ECMAScript (JavaScript)
no description available
Submitted by
imilov
-
9 years ago
-1
Extract the city from zip code and city input
ECMAScript (JavaScript)
no description available
Submitted by
Nils Butenschön
-
9 years ago
1
...
282
283
284
285
286
...
649
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