/ Published in: Regular Expression
Use this to quickly clean-up a file which has opening braces on a new line, a particular annoyance of mine.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
/([\s\t]*[ ]+[\s\t]*{)/ {/gi