[TxMt] regex in a snippet
Saul Rosenbaum
saul at visualchutzpah.com
Sat Mar 14 20:55:55 UTC 2009
Howdy;
Finally getting around to tweaking some html snippets, and I'm stuck -
this is what I have:
<li id="${1}"><a href="#">$1</a></li>$2
what I'm trying to accomplish is (replacing the spaces with underscores and
making it all lowercase)
<li id="this_is_a_mixed_case_string_with_spaces"><a href="#">This is a Mixed
case String with SPACES</a></li>
I'd really like to understand how to accomplish this (rather than just get
an answer).
thanks in advance
saul
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macromates.com/textmate/attachments/20090314/c51c6a08/attachment.html>
More information about the textmate
mailing list