Enter Line Break (CRLF) with Ultraedit

If you ever wondered how to insert CRLF to a text you look at at a very specific position in the text, say like between >< in XML to structure it, then there is a trick i haven’t been aware of. The way you might think as a C++ or unix person is \n which works for some programs like textpad. but textpad and Hebrew are enemies so i needed my faithful UltraEdit. the trick i stumbled upon was to add ^p in the replace and put >^p< to get a CR LF action. that was so nice and so easy to make a not valid XML file readable in the Altova XMLSpy.

Digiprove sealCopyright secured by Digiprove © 2014 Yuval Ararat

Comments

  1. Aarrgh, I already struggled over month for this. Thanks for this 🙂

  2. MOHAMMED SUBHAN says:

    this is what i was looking for, i used to do the same in my previous project after a gap of 5 months i completely forgot on how to break the xml files. thanks it was really useful

  3. Really helpful, thanks

  4. Vladde says:

    Puhh, Thx a lot!

  5. Lextendo says:

    “the internet” never forgets. Sometimes that’s a good thing. Even after 5(!) years this was helpful 🙂

  6. Thanks – just what I was looking for !

  7. Thank you so much it work very good

  8. Amazingly helpful. Thanks a lot!

  9. Ahndi says:

    Still useful 8 years later! Thanks.

  10. Thank you

  11. Varun Kumar says:

    thanks!

  12. this is so awesome – thanks for the tip!

Speak Your Mind

*

This site uses Akismet to reduce spam. Learn how your comment data is processed.