$n =~ s/^(\s*)$a(\s*)$/$1$b$2/i; [download]
In reply to Re: regexp help -- word boundaries by sh1tn in thread regexp help -- word boundaries by water