Basically, all I want to do is pull a list of texts (usernames) from the database and replace them with the exact same texts but wrapped with a link.
So, when I pull - @Dave and @Mike from the list of texts, I want to replace them with @Dave and @Mike but wrapped with a link. So when you click on each of them you’ll be taken somewhere else.
So far, I can only get this to work when I pull from a list that only has one text. If the list has two or more texts, I can access the texts but I can’t wrap them with a link.
^ @Asher is wrapped with a link but @johnnyrico and @Darianm3 are not.
Yeah, in that specific case I would just wrap the two words beginning with @. So far, I’ve only managed to do it when there is one word in the text field beginning with @
Do you have a text like @name1 @name2 and you need to get [url=https://google.com]@name1[/url] [url=https://google.com]@name2[/url]?
You can use find and replace with regex enabled, find @\w+ replace with [url=https://google.com]$&[/url]
This way is limited to just surround the matched strings with surrounding static text.
If you want to dynamically change the url of the link you can use extract with regex with the same pattern. That will get you a list of texts that you can compose back into a string with the operator format as text, where you can add the text you want dynamically.