$n_src =~ s/\Q$s_text\E/[$i $s_text]/; [download]
In reply to Re: Regex Question by japhy in thread Regex to match 'A HREF=', quoting RE replacements (was: Regex Question) by dsb