How to check the last character entered using a regular expression? For example, if the previous character in the string is the digit 3, then the next character can be a number from 0 to 6, otherwise from 0 to 9.
How to check the last character entered using a regular expression? For example, if the previous character in the string is the digit 3, then the next character can be a number from 0 to 6, otherwise from 0 to 9.
Source: https://ru.stackoverflow.com/questions/605070/
All Articles