I'm searching for groups of patterns that look like this:
[httpUrl](httpUrl "httpUrl")
and replace them with:
<httpUrl>
With a twist: all httpUrl
must result in the same string and non-greedy.
I already got a start using RegExr: matching this pattern in a lazy manner and the twist:
\[(http:\/\/.*?)\]\(\1 "\1"\)
But I have a problem finding the replacement expression as this doesn't work:
<\1>
What am I missing here? (I hope it is soo simple that I will say duh).