To whomever can help,

I need to parse a string into parts using multiple regexs, and I'm new 
to Ruby, so I have NO idea how to do it. Basically, I'm trying to parse 
tags that users might add on a webpage.

Example: In my tags input box, user enters the following:
        "my first tag", second tag, third_tag fourth_tag

The order of precedence is quotes, then commas then spaces, so my 
results should be a ruby array which contains the values:

 my first tag
 second tag
 third_tag
 fourth_tag

which means the array will have 4 elements.

I desperately need help. Anyone ?

Thanks,

Jason

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