<div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">&gt;&gt;One more thing: if you actually care about learning regex, you MUST<br>

&gt;&gt;purchase a copy of Friedl&#39;s _Mastering Regular Expressions_.<br></blockquote><div><br>+100<br><br>If you&#39;re a casual user of regular expressions (1-2 times/year) , as I am, and don&#39;t use them frequently enough to learn them well,<br>
 this book may help you out in a pinch<br><a href="http://www.baypiggies.net/index_html/user-group-association-program/BookReviews/regular-expressions-cookbook">http://www.baypiggies.net/index_html/user-group-association-program/BookReviews/regular-expressions-cookbook</a><br>
<br>A good regex debugger tool is also invaluable, so you can generate/test your regular expression in a stand-alone environment.<br>(so you don&#39;t wait until your program is at the point of execution where the regex is invoked)<br>
<br>I&#39;ve used this one quite a bit, and it supports ~16 regular expression flavors<br><a href="http://www.regexbuddy.com/">http://www.regexbuddy.com/</a><br><br>Kodos is a regex debugger written in qt/Python, but I&#39;ve had too many problems with it and stopped using it.<br>
It&#39;s not actively supported any more.<br><br><br></div></div><br>