I need to parse a string which contains custom tags like [link][description][link-url][/link] and I want to convert it to <a href="link-url">description</a>.
Any help on this is highly appreciated.
I need to parse a string which contains custom tags like [link][description][link-url][/link] and I
Share
Here is the regex you could use:
Then you can use the regex replace: