Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

How can I delete blank lines in UltraEdit?

blank delete UltraEdit
0
Posted

How can I delete blank lines in UltraEdit?

0

To delete blank lines in DOS/Unix/Mac formatted-files, use the following Perl-compatible regular expression. You can enable Perl-compatible regular expressions under Advanced -> Configuration -> Search -> Regular Expression Engine. Replace: “^\r?\n?$” (without the quotes) With “” (without the quotes – i.e. nothing). Earlier versions of UltraEdit: To delete blank lines with DOS line terminators you can use an UltraEdit-style regular expression replace as follows: Replace: “^p$” (without the quotes) With “” (without the quotes – i.e. nothing). Run this replace until every blank line is deleted.

Related Questions

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123