in reply to Re: unerline or highlight keywords in a string
in thread unerline or highlight keywords in a string

Thanks. I'm doing this on windows (don't ask). ANyway, I figured it out. I'm using:
use Win32::Console::ANSI; use Term::ANSIScreen qw/:color /;

and my substitution method works for that.