Refactoring Ruby with Regex
I cut down on code using regular expressions
Tags: ruby, regex, codenewbie