/ Published in: Regular Expression
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
1. Open the file 2. Click CTRL + F 3. Select "Current document" in "Find in" (You can also select the folder if you have multiple files) 4. Search in "Source code" 5. Tick "Use regular expression" 6. Type "[ ]{2,}" (without quotes) in "Find" 7. Type "\n" (without quotes) in "Replace" 8. Press "Replace All"
URL: http://forums.digitalpoint.com/showthread.php?t=622323&p=5818363#post5818363