If you mean "bookkeeper" should be "bokeper", then there's a really fast way to do so. This would be collapsing adjacent duplicate letters into just one, by the way. That's a more accurate description of the problem.
$string =~ tr/a-zA-Z//s;
Look up tr/// in the perlop documentation.
_____________________________________________________
Jeff[japhy]Pinyan:
Perl,
regex,
and perlhacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;