title: Is there a way to use .splitlines() and .split() at the same time?
body: <pre><code>Ex.
  'xxx-xxx, xxx-xxx'.splitlines.split()
  </code></pre>
  
  <p>I know this might not be the correct to write it but I'm trying to show what I am trying to do. Is there a way to split the list into separate ", " and then separate the "-" at the same time. I want each 'xxx' to be to be like this.</p>
  
  <pre><code>[[xxx, xxx], [xxx, xxx]] 
  </code></pre>
  
  <p>Maybe this is the hard way and there is a better way to organize these list. I need to organize them something like this.</p>