Thanks. (more like 'my eternal gratitude') It's much faster and I would have never thought of it. I'm still thinking mostly in intermediate Perl and that means I never considered the possibility that the replacement expression could be anything more than a plain vanilla string. Stephan Sokolow