I have a system for posting content on a certain social network of our company.
When the user enters text with
hashtags , I need to detect all of them and store them in an array.
Hello, I'm posting this # question to #stackoverlow. I hope you find good answers.
I want you to return:
array('pergunta', 'stackoverlow', 'respostas');
Remember that if the hashtag contains accented characters, they must also be processed.