I’m pulling source data from an app that only outputs markup text. The markup text has zero or many links and needs to be formatted for Slack’s annoyingly specific markeup language.
For example, changing all links in a body of text from this:
[Text to make into a link](http://www.zapier.com)
<http://www.zapier.com|Text to make into a link>
I’ve tried using Formatter > Extract Pattern, but that only works for the first match (this thread suggested this is possible with a code block which brought me here).
Best answer by ikbelkirasanView original
Hey! Yes - This would be possible with a code block -Can you give an example of a more difficult conversion you are trying to make please?
@ikbelkirasan, thank you!
The code works! One minor change in ordering...
The output is <text|link> and should be <link|text>.
I took a few wild guesses, but couldn’t get it quite right.
If you PM me your email, we’d love to give you R$ for this gift.
Changed it to...