Stack Overflow and Ruby Regex

I’ve been following the Stack Overflow podcast for a little while and I’ve been itching to come up with a question to ask on the site. Well, today I was working on a little ruby formating script (more on this later) and I wanted to replace all the spaces in a string that were NOT located between quotes.

I asked my question on the site and a few hours later I had some really great working solutions!

Click the link for solutions and definitely check out http://stackoverflow.com!