Answer the question
In order to leave comments, you need to log in
How to check for numbers and selected characters?
I want to validate a phone number without a length limit, but a space that allows the content of special characters + - # ( ) and so on. How?
Answer the question
In order to leave comments, you need to log in
[^0-9#\+\- ]
Demo
Explanation of the regular expression (top right)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question