How do I change the order mixed up, Notepad ++ xml file.
Unfortunately, the ctrl + shift + down is not good because I have 3500 TERMEK>.


<TERMEK> <TERMEK_KOD>01008213</TERMEK_KOD> <FO_KEP>https://www.temponabytok.sk/Files/obrazky/01008213.jpg</FO_KEP> <OSSZESZERELESI_KEP>https://www.temponabytok.sk/Files/dokumenty/Vratko_montazny_navod.jpg</OSSZESZERELESI_KEP> <OBRAZKY>https://www.temponabytok.sk/Files/2341000/2341428/245320712.jpg</OBRAZKY> </TERMEK>


<TERMEK> <TERMEK_KOD>01008213</TERMEK_KOD> <OSSZESZERELESI_KEP>https://www.temponabytok.sk/Files/dokumenty/Vratko_montazny_navod.jpg</OSSZESZERELESI_KEP> <FO_KEP>https://www.temponabytok.sk/Files/obrazky/01008213.jpg</FO_KEP> <OBRAZKY>https://www.temponabytok.sk/Files/2341000/2341428/245320712.jpg</OBRAZKY> </TERMEK>

  • I can't tell what you are asking. Can you please edit your question to include some kind of "before" and "after" state? Then we might be able to help you figure out how to automate making that change.
    – user
    Feb 23, 2017 at 12:25
  • 2
    Please edit and add text samples (not images) for before and after so we can use then for testing.
    – DavidPostill
    Feb 23, 2017 at 13:40
  • texts are supposed to be copy and paste, not as an image meta.stackoverflow.com/questions/303812/…
    – phuclv
    Feb 23, 2017 at 15:15
  • bocsánat de ha beillesztem szöveg ként vagy megjegyzés ként akkor elvesziti a <>>< ben lévő karaktereket. de köszönöm hogy foglalkoztok vele. Feb 23, 2017 at 15:54
  • after inserting the text you can format it as code (select it and press CTRL+K), so you won't loose any characters Feb 23, 2017 at 20:40

1 Answer 1


You can achieve it with find and replace:

  • open find and replace dialog (CTRL+H)
  • check "regular expression"
  • find what:
  • replace to:
  • Press "replace all"

You can test the expression here.

  • I'm happy it helped! if it solved your problem, then please accept it as an answer. Feb 24, 2017 at 10:26

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .