I\'m trying to replace all link href\'s in a large string with a different URL. With the following code It seems to replace only the 2nd link leaving the first one intact, c
Slight modifications to Aurelio De Rosa's answer:
'//i'