In my Ruby class on Saturday we learned about two websites that can help you develop your RegEx expressions. Rather than develop and test code again and again these websites allow you to create a RegEx expression and test it against various strings and see the results. Much quicker!
The first website is http://regexpal.com/
The second is http://rubular.com/
Rubular.com will even give you an example RegEx to work with!
Try them out!