title: Regex and PHP - how to match with ignoring pattern parts
body: <p>I have this string:</p>
  
  <pre><code>Hello, world
  </code></pre>
  
  <p>My goal is to use the <code>preg_match</code> function from PHP to end up with:</p>
  
  <pre><code>array(
        [0] =&gt; Hello
        [1] =&gt; world
  ) 
  </code></pre>
  
  <p>This is just an example. I know that I can use explode, or any other method, but it is mandatory for me to use <code>preg_match</code> to match a sub-string followed by a comma, followed by another sub-string while ignoring the comma in the matched result.</p>
  
  <p>Thank you.</p>