In the 'Find and replace' dialog box, click on the last icon which looks like a funnel. Click on the checkbox 'Use regular expressions'
Then follow the points 4, 5 and 6 mentioned above.