7stud -- wrote in post #986830:
> Whoops.  Part of the code got chopped off...it should read:
>
>
>     /xms).flatten

Thanks for the tip ;)

That code works really well thanks, I did not really think to try 
expressions.

Thanks again

-- 
Posted via http://www.ruby-forum.com/.