Welcome To Snipplr
Everyone's Recent Regular Expression Snippets Tagged textmate
- All /
- JavaScript /
- HTML /
- PHP /
- CSS /
- Ruby /
- Objective C
« Prev 1 Next »
As an example – will find and replace all `<b>` elements with `<strong>`
0
1065
posted 13 years ago by jayphen
search for anything in-between two <TAG>'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/)
3
917
posted 13 years ago by rwczippy
« Prev 1 Next »