in reply to Re: Regex help
in thread Regex help

You are making assumptions about the poster's data. Also, there's no need to use a substitution when a simple
while (/(foo\d+)/g) { push @ext, $1; }
would work.

_____________________________________________________
Jeff[japhy]Pinyan: Perl, regex, and perl hacker, who'd like a job (NYC-area)
s++=END;++y(;-P)}y js++=;shajsj<++y(p-q)}?print:??;