Skip to content

Instantly share code, notes, and snippets.

@tortcherx
Created September 11, 2013 03:51
Show Gist options
  • Select an option

  • Save tortcherx/6519167 to your computer and use it in GitHub Desktop.

Select an option

Save tortcherx/6519167 to your computer and use it in GitHub Desktop.
Remove Blank Lines Dreamweaver
Open the file
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"
//This removes all blank lines in Dreamweaver.
//Make sure to untick regular expression afterwards!
@Wendihihi
Copy link

Doesn't work in Dreamweaver 19.1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment