Given a sample HTML below. How can I get the image link http://lis.deped.gov.ph/uis/assets/rev/2630813/images/deped-logo.gif?
Just in case the image link starts in
//like
//uis/assets/rev/2630813/images/deped-logo.gif` I will just have to add a string before it.
How to do it with regex? I do not want to use http library.
<div class="navbar-header"><button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#deped-uis-nav-collapse"><span class="sr-only">Toggle navigation</span><span class="icon-bar"></span><span class="icon-bar"></span><span class="icon-bar"></span></button><span class="navbar-brand"><img class="logo" src="https://i.stack.imgur.com/P7HKA.gif" alt="DepEd" style="height: 20px; margin-top: -2px"></span></div>