It is quite simple to strip non-alphanumeric characters from a search term, but how do you compare it to only non-alphanumeric characters in a database?
For example, if I search for stack's , how can I make it match both stacks and stack's ?
What do I need to do with the what-do-i-do variable below to do it higher?
SELECT * FROM table WHERE <what-do-i-do> ilike 'stacks'
source share