in reply to Regular Expression

You could start by reading the documentation, including
perldoc perlre
after which, you might come back with what you've tried, if you still have questions.