Sublime Text Regix Searchs Search ifs without brances Example: if(true) Search: (if\()(.*)(\))\n Search functions with brances in the same line Example: function name() Search: (public|private) (function .*\)) ?{ ?\n Replace: $1 $2\n\t{\n