Please enable JavaScript to use regex101
/
^
r
e
g
e
x
[
\
-
_
]
?
1
0
1
$
/
i
Reg
ular
Ex
pressions
101
Upgrade to Pro
Enterprise
Regular Expression
/
^[a-zA-Z\d-]{1,100}
/
gm
Input 1
RE-1234-56-789-0 123-AB-12-INV 123456789 ABCDE 2019-01-19-ABCD
Extraction
RE-1234-56-789-0 123-AB-12-INV 123456789 ABCDE 2019-01-19-ABCD