$body =~ s/<img src=(.*?)>/[image:<a href=$1>$1</a>]/gi; [download]
In reply to Re: regex question by krusty in thread [untitled node, ID 186662] by Samn