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”
- 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”
That’s it. Have fun.