title: Ruby - split string made up of emails at space or comma
body: <p>I'm working with an instance method inside a class that needs to take in a string of emails and separate them at either a comma OR a space. </p>
  
  <p>I keep getting one or the other to pass, but can't make it so that both the comma and space pass together. I'm trying with regex. </p>
  
  <p>Thanks for your help!</p>
  
  <pre><code>def parse
    @emails.split(/,\s/)
  end
  </code></pre>
  
  <p>example of emails list string: xyz@yahoo.com, blablabla@gmail.com luliluli@msn.com</p>