Report question

Question: How do I match a string up to the first comma (if present) with a Ruby regexp