I need a regular expression that will test the input
- Should start with only one + symbol or optional ( + should not come in between )
- should not contain alphabets and any other special character
- Should not contain consecutive + symbols
eg
- +91 (valid)
- 91 (valid)
- ++91 (invalid)
- +9+1 (invalid)
- 91+ (invalid)
- +91&*& (invalid)
Need your inputs on this . Thanks
Aucun commentaire:
Enregistrer un commentaire