in reply to RegEx is required for the below pattern

Someone may "provide" you with your regex; it would be a better deal at this end if you provided the provider with your paycheck.

Alternately, you may wish to read the Tutorials on regexen here... and the docs on the topic which live right in your own computer. See perldoc perldoc for details... and please read On asking for help and How do I post a question effectively? before asking the Monks to do your work.