« I Finally Figured Out How to Accomplish More in a Day!
» How to Find the Absolute Path on Your Web Server

How To, web design

How to remove blank lines in dreamweaver

07.15.09 | Comment?

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…

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.

Tags: , ,

have your say

You can skip to the end and leave a response. Pinging is currently not allowed.

Be nice. Keep it clean. Stay on topic. No spam.

You can use these tags:
<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

:

:


« I Finally Figured Out How to Accomplish More in a Day!
» How to Find the Absolute Path on Your Web Server