Given

There is an xml file for 5000-10000 documents. It is necessary to change only the number in the document (docNum = "272")

What is needed

It is necessary to replace (docNum = "272") so that all subsequent replacements increase by 1

(docNum = "272") (docNum = "273") (docNum = "274")

  • Does he know how to calculate something? - Visman
  • Why would I know! It's just that there are regular expressions, so I thought maybe he could replace it like this - Drimoos
  • They are, that is, but where there is no information, so that when replacing you can do calculations in Notepad ++. In PSPad, I also did not find the possibility of calculating when replacing through regulars. - Visman
  • @Drimoos: All this is possible with PythonScript. - Wiktor StribiĹĽew
  • Possible duplicate question: How to increase the values ​​in each row - Anton Shchyrov

0