Monday, December 10, 2012

How to remove blank lines in dreamweaver

Here’s a helpful hint regarding removing blank lines from an html file using dreamweaver.




Click CTRL + F
Select “Current document” in “Find in” (You can also select the folder if you have multiple files)
Search in “Source code”
Tick “Use regular expression”
Type “[\r\n]{2,}” (without quotes) in “Find”
Type “\n” (without quotes) in “Replace”
Press “Replace All”
  1. Click CTRL + F
  2. Select “Current document” in “Find in” (You can also select the folder if you have multiple files)
  3. Search in “Source code”
  4. Tick “Use regular expression”
  5. Type “[\r\n]{2,}” (without quotes) in “Find”
  6. Type “\n” (without quotes) in “Replace”
  7. Press “Replace All”
That’s it. Have fun.