I have a html file with many lines like this:
<div class="cell small-6 medium-4 large-3">
<a href="/some-link/">
<img src="some-image.jpg" alt="Bitter-Orange"> <br> Bitter Orange
</a>
</div>
I want to remove all "a href" elements, get all images url’s and get all products names. Output must be like:
https://domainn.com/some-image.jpg/
Bitter Orange
I try with grep -o -E ‘https?://[^"]+’ and grep all links but how to delete them from file?
2
Answers
How resolve this problem on word pressadmin login panal
(Please check that the mysqli PHP extension is installed and enabled)
If I understood correctly what you want, there are several ways to do this, see if this one fully meets your needs. Sorry about my English.
If this is not what you want, let me know and I can help you using another approach.