s{(<.*?>)}{ my $x = $1; $x =~ tr/ /_/; $x; }eg; [download]
In reply to replace all spaces within anglebrackets with underscores by merlyn