Find line including string, copy this line and replace numbers in xml fie
-
Hello,
is there any chance in notepad++ to manipulate an xml file in the following manner?the xml file contains multiple lines an different positions conraining the string “>NAME”
The whole line containing this string should be copied directly behind the found line.The same line contains a string "layer=“25"”
After the copying process there are existing always two identical lines with the same content.
In every second line containing "layer=“25"” the “25” should be replaced by “21”.I only managed up to now to bookmark the linemincluding “>NAME” with the Find/Mark Function .
Thanks for your help!
best regards