outputting results without bracket tags
<p>how do I output the results while replacing the cumbersome bracket tags?</p>

<p>instead of          [3] => 56531631380</p>

<p>i want             @56531631380&amp; for all items</p>

<pre><code>&lt;?php
$f = fopen ('http://fanpagelist.com/category/top_users/view/list/sort/fans/page1', 'r');
$page = '';
while ($line = fgets($f)) {
  $page .= $line;
}
fclose ($f);
preg_match_all('#(?:(?&lt;=\bhref="/like_box\.php\?id=)|' .
                '(?&lt;=\bsrc="https://graph\.facebook\.com/))\d+#i',
                $page, $result, PREG_PATTERN_ORDER);

print_r ($result);

?&gt;


 &lt;pre&gt;
    &lt;?php

echo preg_replace("/\([^)]+\)/","",$result);


    ?&gt;
    &lt;/pre&gt;
</code></pre>
