javascript - Regular expression using + problem in js -
In the phone verification I am using regular expressions, I must use that "+" sign in regular expression + Ways to provide sign because + the mark indicates one or more preceding character (s), even if I call it \ + ?
As you would like to be the predecessor \ like:
/ ^ \ + \ d + $ / This example only matches the starting stars with + , which is either Happens with more than one digit.
Comments
Post a Comment