Created
September 21, 2016 21:09
-
-
Save Telematica/ffdab60ffb6790f63a90eaf340715f82 to your computer and use it in GitHub Desktop.
Sublime Text Handy Tricks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#REGEX REPLACE | |
find : <li>*.+?(echo)+.*<\/li> | |
replace : <?php if($userac->hasPermission('access','')) { ?>\n\t\t$0\n\t\t\t<?php } ?> | |
#http://stackoverflow.com/questions/20742076/regex-replace-uppercase-with-lowercase-letters | |
#Lowercase Replacement | |
find : \bAS\b | |
replace : \L$0 | |
#Uppercase Replacement | |
find : \bAS\b | |
replace : \U$0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment