title: How to extract strings from a localizable.strings-formatted file in PHP?
body: <p>I am constructing a PHP web app where users can upload their strings files (consisting of keys and values) from their ios/mac apps. I need to be able to extract the strings from these files, but it seems my regex skills are beyond rusty. </p>
  
  <p>For instance, a file that looks like this:</p>
  
  <pre><code>STRING1 = "hello";
  "good = bye" = "good = bye";
  NAME = "Your name is \"%@\"";
  "semicolon;confusion" = "I love semicolons; I hate semicolons"; "forget new line" = "forgot new line!";
  </code></pre>
  
  <p>Should yield:</p>
  
  <pre><code>[0] = ["STRING1","\"hello\""]
  [1] = ["\"good = bye\"","\"good = bye\""]
  [2] = ["NAME","\"Your name is \"%@\"\""]
  [3] = ["\"semicolon;confusion\"","\"I love semicolons; I hate semicolons\""]
  [4] = ["\"forget new line\"","\"forgot new line!\""]
  </code></pre>
  
  <p>Thanks!</p>