/ 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
/([\s\t]*[ ]+[\s\t]*{)/ {/gi
You need to login to post a comment.
Zenithus on 07/31/09
regex php c new line tidy braces different
1 person have marked this snippet as a favorite
Use this to quickly clean-up a file which has opening braces on a new line, a particular annoyance of mine.
/([\s\t]*[ ]+[\s\t]*{)/ {/gi
You need to login to post a comment.