I am trying to search a database using regular expression in sqlite. Here is my code:
cursor = db.rawQuery(\"SELECT _id, employee FROM employees WHERE employ
As James suggested, use the LIKE
operator, and then do a java search on the results using regular expressions
In sqllite the "REGEXP" function is not included by default and you need to "roll your own".
However the "LIKE" operator should do what you want as long as your searches are reasonably simple.
the docs