I'd like to perform a structural find/replace for XML files.
I'd like to find:
And replace with:
-- in my ant build file. IDEA complains: "search query is not expression,but replacement text is". What am I doing wrong? If this isn't supported than a different error should probably appear. It would also be useful if the regular find/replace had a way to save templates just as the structural one does since I may have to resort to the regular expression replacement technique... and I want to use this query later.