I am parsing chat messages and I want to create three arrays for tag cloud purposes.
One for normal chat words, one for user tags, and one for chat emotes.
For example, take this chat message:
WE LOVE YOU @CHANDLER, YOUR GREAT AT EVERYTHING!! <3 <3 VirtualHug VirtualHug :) :WE LOVE YOU CHANDLER, YOUR GREAT AT EVERYTHING!! [emote=<3] <3 [emote=VirtualHug] VirtualHug [emote=:)] :)
Based on this message, I'd like to peel out the following :
- user tag(s) : @CHANDLER
- emotes : [emote=<3], [emote=VirtualHug], [emote=:)]
I have tried various examples I have found on these forums but nothing seems to work and always brings all of Logstash down.