How to use RegExp replace in Eclipse

Here is a quick tip for when you want to replace some text in your code.

Say that you have many HTML attributes like and you want to replace them with . Then you must search for and replace with . Note that you need to escape the $ with a backslash for Eclipse to do its work. If you omit it, Eclipse will simply not work and not complain.