- var_dump: documentation ( source)
- preg_match: documentation ( source)
<?php
$home = '<li><span style="background-color:transparent">Latest stable </span>release: <a href="https://chromedriver.storage.googleapis.com/index.html?path=77.0.3865.40/" style="background-color:transparent" target="_blank">ChromeDriver 77.0.3865.40</a></li>';
preg_match('/Latest stable(.*)release:.*?\?path=([\d.]+)/', $home, $matches);
var_dump($matches);