S
S
sergey_from_saratov2017-10-18 19:09:26
JavaScript
sergey_from_saratov, 2017-10-18 19:09:26

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

1 answer(s)
S
Stalker_RED, 2017-10-18
@sergey_from_saratov

[^0-9#\+\- ]
Demo
Explanation of the regular expression (top right)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question