Wednesday, August 09, 2023

How to remove empty lines in Liquid Studio

To remove all empty lines using a regular expression...
  1. Open Liquid Studio.
  2. Open an XML or JSON file and select the Source or Text view.
  3. Click Ctrl+H to show the Find/Replace dialog.
  4. Click the 'Use Regular Expression (Alt+E)' button.
  5. Enter \n\n in the first text box (find value).
  6. Enter \n in the second text box (replace value).
  7. Click 'Replace All (Alt+A)' button.

 

This feature is included in the Free Community Version of Liquid Studio.