Remove Blank Lines Between Code
Posted by navaneeth on Jun 27, 2013 in Css, General, Php | 1 Comment
Sometimes when we are dealing with the files through ftp some servers append so many blank lines in between codes.When we are using Dreamweaver we can remove blank lines between code using the regular expressions
- Hit CTRL-F to open the Find-and-Replace tool
- Click the “use regular expression” checkbox
- Ensure the Search drop-down shows “Search Source Code“
- Copy-and-Paste ‘[\r\n]{2,}’ in the Find textarea
- Copy-and-Paste “\n” in the Replace text box.
- Click the”Find Next” or “Find All” just to be sure this is working properly before you go straight into the “Replace All”
Feature.
So this will help us to remove blank lines between code and its easy to implement
One Comment on “Remove Blank Lines Between Code”
Jithin Francis
December 9, 2013Thanks.