Simple question:
Which is the most efficient way of performing a substituion like:
"Some tekst with a link like this <ref>linktekst</ref>"
To
"Some tekst with a link like this <a href="linktekst">linktekst</a>"
In groovy?
There can easily be more than one tag in the text, that should be substituted, and linktext is of course the body of the <ref> tag.
You can use
String.replaceAll: