I'd like only to replace the data of the href-attribute in an a-element. Can this be done with a regex?
Example
<a href="tel:8196887620" value="+18196887620" target="_blank">8196887620</a>
I imagine you'll have to make a regex for <a ... >
then apply another regex for the href
and then another to only grab the data between the "
. Is that correct or is there a better way to do this? Maybe a library in python?