Replacing Blank Lines
Sometimes files got blank lines after line. It may caused from wrong type of transferring. Because of that some scripts won't work. I really doesn't know why. So I had to remove all Blank Lines from file. Of course I've searched through Google. It was already there. But time is money I really don't wont to search over and over again. So I'll post here solution.
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 will work on Dreamweaver my long time friend. I've forgotten the source. If I find the source someday I'll definitely post here.
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 will work on Dreamweaver my long time friend. I've forgotten the source. If I find the source someday I'll definitely post here.
Comments
Post a Comment