186
rated 0 times
[
189]
[
3]
/ answers: 1 / hits: 21781
/ 13 Years ago, mon, may 23, 2011, 12:00:00
I use the regular expression /^+(90)[2-5]{1}[0-9]{9}$/
for phone validation, but when someone enters any special characters (such as *
-
/
(
)
-
_
) in the input, I want to replace the characters with an empty string (remove them). Note that I don't want to replace the +
.
How can I do that?
More From » regex