We would like to do the following:
SELECT * FROM table WHERE char_length(text) >= 15 AND char_length(text) <= 100
HOWEVER, we want it to return only 'text' column that matches this query WITHOUT hashtags. that is:
If text = 'hello how are you' will match
but
text = 'hello #how #are you' will not match (because we want to filter out the hashtags and char_length('hello you') is too short).
#could be in the middle of a string and not be part of a hashtag. Your suggestedLIKEexpression would fail all pound signs.