-
Isolating a string of text (within a larger paragraph)
Hi all, I’m trying to
I’m guessing regex is useful here and have been experimenting and trying to “cobble” a solution together.
Wondering if anyone can get me started and or well on the way to an implementable solution.
In the broader paragraph I’m searching for text that begins with an @ symbol and them the following letters, until the next word/space break.
(Current regex = /@[a-zA-Z]+\w/gi)I’d then like to be able to style that text with a different colour…which I figure I can either do with ‘style’ or converting the regex output to control a Text Animator.
Hope the above makes sense. Appreciate the input. Thanks in advance.