Wednesday, January 7, 2015

Remove Blank Lines in Dreamweaver

This information is for person who use Dreamweaver regularly they fetch this type of problem like some times display unnecessary blank lines or extra spaces in files.
This type of extra space because of binary or some encoding or encrypted method from server. mostly its display when download or upload files from live server.
Some times when upload many times than files display many lines which is necessary to remove.
So not worry here is simple solution just within minitue.
In your Dreamweaver
  1. Press CTRL + F (Or Open Find or Replace From Edit menu).
  2. In `Find` Box Enter [\r\n]{2,}
  3. In `Replace` Box Enter \n
  4. Tick `Use regular expression` checkbox.
  5. Click on Replace All Button.
  6. Here also replace from current document or folder select in `Find in` dropdown.
Now see results that spaces removes.

This functionality work on  all supported  files like HTML, XML, CSS, PHP, JSP, JAVASCRIPT...

Below process also work on any versions of Dreamweave.

No comments :

Post a Comment