How to remove mysterious blank lines in Dreamweaver

I don’t understand why it happens, but after uploading and downloading files, via ftp, occasionally blank lines appear every other line in my code. I do however understand how to get rid of them with Dreamweaver.

Using the Find and Replace function (Ctrl+F)

Making sure that ‘use regular expression’ is checked

Find

[\r\n]{2,}

Replace

\n

Then select ‘replace all’.

Tags :

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong> <pre lang="" line="" escaped="" highlight="">