in reply to Search and Replace
if there's an unspecified number$string =~ s/^(.*\(.*);(.*\).*)$/$1,$2/;
there's probably a way to do it in single regexp, but I don't have enough caffeine in my blood to see it yet.($a,$b,$c) = split(/[()]/,$string); $b =~ s/;/,/g; $string = $a."(".$b.")".$c;
/\/\averick
|
|---|