Posted By

mantosz on 08/01/11


Tagged

replace space dreamweaver


Versions (?)

Strip Code Line Spaces


 / Published in: Regular Expression
 

URL: http://forums.digitalpoint.com/showthread.php?t=622323&p=5818363#post5818363

  1. 1. Open the file
  2. 2. Click CTRL + F
  3. 3. Select "Current document" in "Find in" (You can also select the folder if you have multiple files)
  4. 4. Search in "Source code"
  5. 5. Tick "Use regular expression"
  6. 6. Type "[
  7. ]{2,}" (without quotes) in "Find"
  8. 7. Type "\n" (without quotes) in "Replace"
  9. 8. Press "Replace All"

Report this snippet  

You need to login to post a comment.