Searching for hashtags as part of a singular word (not a portion of a word) in the content like so:
SELECT * FROM `messages` WHERE LOWER(`messages`.`content`) REGEXP '[[:<:]]#anxiety[[:>:]]'
It is not finding any records, however a search for the word "anxiety" works:
SELECT * FROM `messages` WHERE LOWER(`messages`.`content`) REGEXP '[[:<:]]anxiety[[:>:]]'
Looking to find messages like "She doesn't like thunderstorms. #anxiety #nervous."
Not looking to match parts of a word like "abc#anxiety". It should match "#anxiety" as a standalone word with a "#" before it like "I have #anxiety", "#anxiety sucks!", or "This is what #anxiety looks like.".