Hello,
I have been desperately trying since yesterday to find a regex to extract an html without part of it... let me explain, I am scraping an html table which has links, I would like to recover this table, but without the links , for example in these lines I would like to remove the tags <a href.*> and
I have tried several solutions without success in finding what I need.
<tr class="woocommerce-product-attributes-item woocommerce-product-attributes-item--attribute_pa_carte-graphique-capacite"> <th class="woocommerce-product-attributes-item__label">Carte Graphique (Capacité)</th> <td class="woocommerce-product-attributes-item__value"><p><a href="https://mysite.com/carte-graphique-capacite/128-mb/" rel="tag">128 MB</a></p> </td> </tr> <tr class="woocommerce-product-attributes-item woocommerce-product-attributes-item--attribute_pa_carte-graphique-modele"> <th class="woocommerce-product-attributes-item__label">Carte Graphique (Modèle)</th> <td class="woocommerce-product-attributes-item__value"><p><a href="https://mysite.com/carte-graphique-modele/hd-graphics-510/" rel="tag">HD Graphics 510</a></p> </td> </tr>
Thanks for your help