Revision: 27198
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at May 27, 2010 18:52 by rwczippy
Initial Code
Search Term: <TAG>(.*)</TAG> Replace Term: \$$1 = \$_POST['$1']; if (\$$1) echo "<tr><td>$1</td><td>\$$1</td></tr>"; else echo "";
Initial URL
http://screenflicker.com/mike/code/textmate-regex-replace/
Initial Description
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/)
Initial Title
RegEx to find replace in TextMate
Initial Tags
regex, php, textmate, search, replace
Initial Language
Regular Expression