I have this expression in search and replace Code: ([A-Z][a-z]*)|(.*) Code: \2 So it searches wordhere1|wordhere2 and then deletes wordhere1 and gives me wordhere2 The problem is that it apparently only cleans up one occurrence per line. I am working on a thousands of files with probably hundreds of thousands of occurrences. So there's like 10 or more occurrence per line. Question is how can I make the expression on search target multiple occurrence on each line? Also have can I make it target not just single word but phrases as well? Thanks in advanced.