Hi i have a string which contains contact number. "xxxxxxxxx". I want to make a regex that checks for number ending in the range 70-79 in javascript. Can anyone please help with regex. I tried but not working.
>Solution :
Try this one. It will match any number ending with 70-79

^[0-9]+ it will match any number more than one time from the begining
7 is the exact number matching
[0-9]{1}$ means that the last number must be between 0-9 and it should match only once.