I need a hand to transform a String in Array using Regular Expression
<p>I have this String:</p>

<pre><code>[L][2012-03-09 @ 00:17:32][index.php:49] : array(14) {
  ["razao_social"]=&gt;
  string(30) "Campus r5 eventos e formaturas"
  ["cnpj"]=&gt;
  string(14) "14027857000100"
  ["ie"]=&gt;
  string(6) "Isento"
  ["endereco"]=&gt;
  string(25) "rua da assembleia 10 1905"
  ["bairro"]=&gt;
  string(6) "centro"
  ["cep"]=&gt;
  string(9) "20011-001"
  ["cidade"]=&gt;
  string(14) "rio de janeiro"
  ["estado_comercial"]=&gt;
  string(2) "RJ"
  ["telefone_comercial"]=&gt;
  string(14) "(21) 2553-6880"
  ["fax_comercial"]=&gt;
  string(0) ""
  ["email"]=&gt;
  string(40) "thiagoaloy@formaturasmirabolantes.com.br"
  ["cupom"]=&gt;
  string(0) ""
  ["faturamento"]=&gt;
  string(17) "até R$180.000,00"
  ["forma_pagamento"]=&gt;
  string(16) "Boleto bancário"
}
</code></pre>

<p>I need an array with the followings values:</p>

<pre><code>$array = array();
$array['endereco'];
$array['bairro'];
</code></pre>

<p>I was trying to user regular expression, but I need a simple example, my string file is really big. Can anyone give me a hand?</p>

<p>Thanks,</p>
