June 30, 2015

How to remove blank/unnecessary lines in dreamweaver?




This type of issue mostly face when you can download any file from FTP/server, because its Fille Zilla setting issue,
That's why in any .php file lost of blank/unnecessary lines you can see in file when open that file in Dreamweaver,

Here's a helpful solution to remove blank/unnecessary line from file using Dreamweaver:


Step 1: Click CTRL + F

Step 2: Select 'Current Document' from Find In options (if you want replace in all files then select specific folder)

Step 3: checked 'Use regular expression' from footer options

Step 4: Type [\r\n]{2,} in 'Find' text-area

Step 5: Type \n in 'Replace' text-area

Step 6: And press Replace All' button from right side



Enjoy!

No comments:

Post a Comment

Integrating Google reCAPTCHA v3 in HTML Form with PHP

  What is Google reCAPTCHA v3? Google reCAPTCHA is a free service that helps protect websites from spam and abuse. reCAPTCHA v3 is the lates...