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...
0
Unitel RegEx
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Movicel RegEx
ECMAScript (JavaScript)
no description available
Submitted by
anonymous
-
6 years ago
0
Custom Masking
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Forged scc senders
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Forged scc senders
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Test Regex
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Check number in calculator
ECMAScript (JavaScript)
Check number in calculator
Submitted by
anonymous
-
6 years ago
0
TCP/UDP Port
PCRE (PHP <7.3)
Matches a TCP or UDP port. This will only match a string of digits between 0-65535. It does not support zero-padded ports.
Submitted by
anonymous
-
6 years ago
0
Action Rec
Golang
no description available
Submitted by
anonymous
-
6 years ago
0
match first hex not 00 except line number
ECMAScript (JavaScript)
匹配第一个非00的十六进 制数(排除行号)
Submitted by
anonymous
-
6 years ago
0
Timestamp - General
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
NSX DFW: Service Format
PCRE (PHP <7.3)
This regex matches the format required by NSX services. It can includes single ports, port ranges, comma-separated ports, or any mix thereof. Single port: 3389 Port range: 49123-65535 Comma-separated ports: 80,443 Mixed: 80,443,100-200...
Submitted by
anonymous
-
6 years ago
0
匹配html中多个所需内容
Python
no description available
Submitted by
anonymous
-
6 years ago
0
r3.7 remove whole line with link: 如欲參考原文報導,請點選...
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
0
Password Validation
PCRE (PHP <7.3)
Password Validation Must Begin with a letter Must be at least 8 characters long Must contain at least one upper case character Must contain at least one lower case character...
Submitted by
anonymous
-
6 years ago
0
list method variables
PCRE (PHP <7.3)
all variable names are found in method signature and listed csv list is generated a column of variable names preceded with line comment signt (') is generated
Submitted by
anonymous
-
6 years ago
0
generate method call string from its signature
PCRE (PHP <7.3)
all parameters are passed by names to account for possible changes in method signature default values are assigned to optional parameters function and sub calls are generated recrusive call is generated
Submitted by
anonymous
-
6 years ago
0
Trim repeating characters at start and end
ECMAScript (JavaScript)
Trim repeating characters at start and end, e.g. "//strip me$$" becomes "/strip me$"
Submitted by
anonymous
-
6 years ago
0
KBC: Extract ASA Names
Python
no description available
Submitted by
anonymous
-
6 years ago
0
cjk
PCRE (PHP <7.3)
no description available
Submitted by
anonymous
-
6 years ago
1
...
518
519
520
521
522
...
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