in reply to Perl Command Line Regex

Well, since you haven't showed what you have tried no one's going to know how you've gone wrong so far. At any rate: