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
~
\bAM19/(?!0803)\d+
~
gm
Input 1
1
New
I am struggling to find an answer on how to use regex to match on a range of numbers, but excluding one number ie: I am looking for ANY match of - AM19/0601 - AM19/0805 (but NOT AM19/0803) I am using this for seeing if I have any match on: AM19/6XX AM19/7XX AM19/8XX
Extraction
I am struggling to find an answer on how to use regex to match on a range of numbers, but excluding one number ie: I am looking for ANY match of - AM19/0601 - AM19/0805 (but NOT AM19/0803) I am using this for seeing if I have any match on: AM19/6XX AM19/7XX AM19/8XX