I have this html :
<a href="https://m.com/link/NX1B4efPlb2Es3xh1ip" target="_blank" style="-ms-text-size-adjust: 100%; -webkit-text-size-adjust: 100%; cursor: pointer; word-wrap: break-word; word-break: break-word; color: #FFFFFF; text-decoration: none;">Specific word</a>
And I'm looking for a regex who extract the href only of the link who have "Specific word" text :
Extract the href https://m.com/link/NX1B4efPlb2Es3xh1ip
when the text <a>
is Specific word
.
Thank you