Hallo everyone,
I am trying to find a resolution for a regex expression:
I want to have something like this
"string x/0/y" where x is in a range between 1-6 and y is in range between 1-48
I tried this:
interface GigabitEthernet [1-6]/0/([1-4]*[1-8])
but then if y = 50 it still takes 5 under consideration and drops "0"
I tried this
interface GigabitEthernet [1-6]/0/([1-4][1-8])
but then if y = 1-9 it does not match the expression.
I would appreciate any help on this.
Thank you !