in reply to Need 2 Regex's

See perlretut and perlre. Maybe also just see index.

This is not a code writing service. We will gladly help you with your code or give you pointers as to where to look.

Replies are listed 'Best First'.
A reply falls below the community's threshold of quality. You may see it by logging in.