javascript regex number between 1 and 100 code example Example: regular expression number from 1 to 100 ^[1-9][0-9]?$|^100$