I have been working on an regular expression which say consists of more than 9 digits ( 12345678910111213 )
With the help of regex \d{9}(?!\d) i am able to find the last 9 digits of the number.
But when the entire number is less than 9 digits how do i take the entire number as pass it. is there any such regular expression.