So I am trying to compare if a string match an pattern ( and I must know that after the string there is nothing else !!! ) and inside that string is a number ( I don\'t know