Hi all, i have this code to extract all words beginning with an "@" character, it works perfectly fine:
but, i need to avoid adding replicas of the same word. my space is very limited and i was wondering if it was possible to do this in a 1 liner, extract those words and avoiding replicas?
thanks!
Code:
push @text,map(/(?<!\w)@\w+/g, @words);
thanks!