you will need to update the IDE find regular expressions, but this macro should do what you want. I am not sure what it will do to the current outlining of functions in your code though. Hopefully a couple of extra calls to the IDE outlining commands will fix any oddities you encounter.