in reply to Re: A string from a filein thread A string from a file
$msg =~ s/__(\w+?)__/(defined $SWAPS{$1})?$SWAPS{$1}:"__$1__"/eg [download]