Monday, 22 July 2013

How to remove blank spaces in dreamweaver?

If you are looking for a software to delete blank lines in between the codes, Adobe 's Dreamweaver is best.
Using regular expression in find and replace , we can delete the empty lines in between the codes.

Here are the steps
-------------------------
1) Open the file
2) Click CTRL + F
3) Select "Current document" in "Find in" (You can also select the folder if you have multiple files)
4) Search in "Source code"
5) Tick "Use regular expression"
6) Type "[\r\n]{2,}" (without quotes) in "Find"
7) Type "\n" (without quotes) in "Replace"
8) Press "Replace All"

That's all. If any body knows other methods to remove empty lines in  between codes, kindly share it with me.



No comments:

Post a Comment