in reply to Ode to Death to Dot Star

You might want to try the 's' modifier on your regex
$line =~ s/wordone\s*\((.*)\)\;//wordtwo\:$1\;/s
And also not have b0rken regex in the first place
$line =~ s/wordone\s*\((.*)\);/wordtwo:$1;/s;
You're escaping characters that don't need to be escaped (i.e non-alphanumeric non-meta-characters <pant> <pant> ;).
HTH

broquaint