I want to select from my number table that haven't any character except + in index.
For example:
+991234567 is ok
98+4587889 is not ok
14asdasda54866666 is not ok
How should i write my query?
I want to select from my number table that haven't any character except + in index.
For example:
+991234567 is ok
98+4587889 is not ok
14asdasda54866666 is not ok
How should i write my query?
Here is the Query with the Regular Expression
SELECT
number
FROM
Table1
WHERE
number NOT REGEXP '^\\+{0,1}(0|1|2|3|4|5|6|7|8|9)*$'