From: Rob Biedenharn Date: 2006-12-08T23:39:00+09:00 Subject: Re: Need help with a regexp On Dec 7, 2006, at 10:55 PM, rpheath wrote: > Thanks for the reply. I'm relatively new to regular expressions, and > misinterpretted the ^s and $s. I was thinking they were for that > specific check, so it was either the first string "|" (or) the second > string. http://groups.google.com/group/rubyonrails-talk/browse_frm/thread/ 6c75d5d4df368186/2743494eb303014c#2743494eb303014c And might I suggest picking ONE mailing list on which to ask your questions (Ruby is actually the better one for this question about regular expressions), and then JUST ASK ONCE. -Rob Rob Biedenharn http://agileconsultingllc.com Rob@AgileConsultingLLC.com