IDEA have function for find and replace text in file (ctrl+r) and supports regular expressions. For example i write replace 1 to 2 and after this i need do it again, but i dont