I have a many files and in each file there is a line with the following (amongst other things). This line is not always in the same place, however, it starts from the beginning of the line. This line is also always different.
slug: bláh-téxt-hello-write-sométhing-ábout-arrow
I'd like to replace each occurrence of the special characters (á and é with their corresponding characters a and e). Each of those characters can be on this line many times + also occur in the document in other places (which should not be replaced).
So the result is:
slug: blah-text-hello-write-something-about-arrow
I have this: find: ^slug: (.)((é)|(á))(.) replace: slug: $1(?2e)(?2a)$3
However, this seems to replace only one character at a time. How do I get it to run multiple times until there is no character to replace?
Thanks much for any insights.