Hi I have a requirement to remove every occurrence of the "LIP_CUT,number.number," out of pages of code.

I am newbie to this type of argument structure and cannot get any results so far.

Any help appreciated please.



Typical line layout below


Needs to read


  • Dave, You're a star!
    – Ian Cade
    Oct 7, 2014 at 13:59
  • I've been trying blindly with \'s .'s and brackets for some time this morning and got nowhere.
    – Ian Cade
    Oct 7, 2014 at 14:00
  • This worked straightaway with the correct result.
    – Ian Cade
    Oct 7, 2014 at 14:01

1 Answer 1


You can do a find and replace, but select 'Regular Expression', and put in the following in the 'Find what' box:


Make sure nothing is in the 'Replace' box.

So, just by way of a small explanation:

  • '+' means 1 or more occurances
  • '\.' means I'm actually looking for a '.' - just '.' on its own means any character
  • square brackets allow me to specify a range of possible characters - in this case anything from 0-9

More info can be found here if you find this stuff fascinating.

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .