[San-Diego-pm] Text substitution
Joel Fentin
joel at fentin.com
Mon May 1 20:04:15 PDT 2006
Kevin Berggren wrote:
> What about
>
> $Text =~ s/($SearchFor)/<b>$1<\/b>/gi;
>
> -kb
Menolly wrote:
> Use a backreference:
> $Text =~ s/($SearchFor)/<b>\1<\/b>/gi;
>
Thank you Kevin & Menolly.
--
Joel Fentin tel: 760-749-8863 FAX: 760-749-8864
Email me: http://fentin.com/me/ContactMe.html
Biz Website: http://fentin.com
Personal Website: http://fentin.com/me
More information about the San-Diego-pm
mailing list