Hi I'm trying to make a movie app where I'm trying to make a search functionality work. However I'm running into a problem trying to figure out a way to make the search case insensitive as well as ignore the punctuations. I believe another post showed how to get the case insensitive to work by using regular expression
query.whereMatches("name", "("+searchData+")", "i");
However is there something I can do to ignore the punctuations?
For example in the database I have "Mission: Impossible". If a user searches for "Mission impossible" it still won't be able to find it.