/ Published in: Regular Expression
search for anything in-between two 's and then replace the found string into the PHP if/else staement. $1 is wher TextMate stores the found string. (see http://screenflicker.com/mike/code/textmate-regex-replace/)
Expand |
Embed | Plain Text
URL: http://screenflicker.com/mike/code/textmate-regex-replace/