Search: (.+)
Replace: XXX\1XXX
But, IIRC replace all with marked text only replaces the marked text in the current file. So your workflow will be mark all occurences in the current file, then click replace all, then switch to next file, mark the occurrences in that file, then click replace all and so on.
|