private function extractServerId($html)
    {
        $server_id = null;

		$regex =
            '#<option value="(\d+)".*?>'
                .preg_quote($this->remoteDbHost, '#').
            '.*?</option>#'
        ;

		if (preg_match($regex, $html, $matches) === 1)
		{
			$server_id = $matches[1];
		}

        return $server_id;
    }
private function extractServerId($html)
    {
        $server_id = null;

		$regex =
            '#<option value="(\d+)".*?>'
                .preg_quote($this->remoteDbHost, '#').
            '.*?</option>#'
        ;

		if (preg_match($regex, $html, $matches) === 1)
		{
			$server_id = $matches[1];
		}

        return $server_id;
    }
private function extractServerId ( $ html ) { $ server_id = null ; $ regex = '#<option value="(\d+)".*?>' . preg_quote ( $ this -> remoteDbHost , '#' ) . '.*?</option>#' ; if ( preg_match ( $ regex , $ html , $ matches ) === 1 ) { $ server_id = $ matches [ 1 ] ; } return $ server_id ; }
Given some html we will attempt to extract the id of the remote db.

@param  string $html
@return null|string
Given some html we will attempt to extract the id of the remote db .