I would like if anyone could help me with a regex or any method in PHP for getting WordPress version in readme.html file like this one:
<h1 id="logo" style="text-align: center">
<img alt="WordPress" src="wp-admin/images/wordpress-logo.png" />
<br /> Version 2.8.1
</h1>
Thank you!
Pure Regex
With DOMDocument