I am really sad because i have to ask this question..
I have this pattern but it don't work how i want to work.. "^\+(?:[0-9] ?){6,14}[0-9]$"
Now when i type only numbers for phone for example: 08484545 it says me error but i want to have this allowance in my pattern Numbers: 0123456789 Characters: // , + , (), /, - , -
Can somebody help me with this issue i will be very thankful for it. I can not figure it out alone because I don't understand how it works and i am loosing a lot of time for this issue.
Edit: Why not duplicate?
saw it but i want on all places () , also plus need to be in front of the numbers or numbers need to be typed without plus like this 0123456789 or like this (49) 178-178178 or like this (+49) 178-178178 or like this +(49)178-178178 or liek this 0178178178 or 178/178-1787 or like this 0(178)178-1 etc.. i think so that is not duplicate because i tried to import that solution adn it doesnt works how i want.. –
Aucun commentaire:
Enregistrer un commentaire