- preg_match: documentation ( source)
- print_r: documentation ( source)
<?php
$html='".............."url":"rtmp:\/\/live3.me.somesite.com\/live\/?id=dfsdfdsfdsfsaddfdfdfd","name":"8.low.stream"........."';
preg_match("/\?id=([a-zA-Z]+)\"/", $html, $foo);
print_r($foo[0]);