I am retreiving Phone Numbers from content://sms/
URI and hence sometimes i am getting alphabets in the value of address column for some advertisement messages which i don't want to display. Therefore, i want to display Phone Numbers ONLY with '+' sign (optional) and for this the regular expression in my below query is NOT working.
SELECT PHONE FROM TABLE_TEST WHERE PHONE LIKE '%[+]%[0-9]%'
Here, i am using the standard SQLITE database for Android. Also tried using REGEXP operator but got some error like: no such function: REGEXP:
Could anyone please help with the proper Regular Expression.