$fost = $post['postparsed'];if (preg_match( '/embed([^"]+)', $fost , $match )) { $test = $match[1]; }