How can i do the following:
I have a string
something#12
I need a regex that will get last two numbers from the string in range from 0 to 19. Note that nothing should be returned if the number after # is greater than 19, i need to ignore letters and special symbols either.
I have tried the following:
([0-9]{1}$)|([0-1]{1}[0-9]{1}$)
but it return last one or two numbers if i have a value greater than 19.