Thank you for the help. This isn't homework, I'm out of college, but this is from a book. And I'm not looking for a complete solution, just some help with my regular expression (and apparently a loop I missing :D). Please don't think I want hand holding, just a point in the right direction so to speak. Or someone to say I did/doing something wrong.
I apologize for my crappy thread title, I'll be more descriptive in the future. Thanks for the fast responses!