regex to find amount of numbers in a list less than 10 code example Example: regular expression number from 1 to 100 ^[1-9][0-9]?$|^100$