in reply to Regular Expression Doubt

What have you tried?
Here's a possible solution: