/ Published in: Regular Expression
![](/img/icon_sav.png?v3)
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/
Comments
![RSS Feed for Comments RSS Icon](/images/rss.png?v3)