Guys, Here is what i want my regular expression to do:
$_ = 'xyz 12 45'
then my regular expression should fail. Also,
$_='xyz 123'
then my regular expression should fail.
But,
$_= 'xyz 12'
then it should pass.
However, i see that the 2nd and 3rd scenario's are workign but, not the 1st one. My regular expression seems to take the 1st one i.e xyz 12 45 as xyz 12 and process the expression. Which is not what i want :(