Hi,
i'm trying to use a regexp for adding a "target=_blank" to all links like this:
Anyone could help?
The target="_blank" should be inserted if it's missing ;)
i'm trying to use a regexp for adding a "target=_blank" to all links like this:
Code:
$text =~ s/<a href="(*)">/<a href="$1" target="_blank">/g;Anyone could help?
The target="_blank" should be inserted if it's missing ;)