UtkarshKulshrestha.com - A Complete Web Solution

  • Call: +(91) 823 373 8330
    Or leave a call back request and we will call you back
    GMT +5.5 Open: 9am-10pm, Sun/Sat
  • QR-Code

How to remove blank lines in dreamweaver

As I am creating websites I sometimes come across situations that require a more than basic knowledge and a bit of research to figure out.

Here’s a helpful hint regarding removing blank lines from an html file using dreamweaver, should you ever want to do that without having to manually delete the lines…

  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.

Post Comments & Suggestions

Leave a Reply

Your email address will not be published. Required fields are marked *

6 − 5 =