I have a long string containing a mix of words and characters.
<h4> <a href="/forum?id=SyBPtQfAZ"> Improving Discriminator-Generator Balance in Generative Adversarial Networks </a> <a href="/pdf?id=SyBPtQfAZ" class="pdf-link" title="Download PDF" target="_blank"><img src="/static/images/pdf_icon_blue.svg"/></a> </h4>
I need to extract only the title:
Improving Discriminator-Generator Balance in Generative Adversarial Networks
I know R has the ability to extract words between 2 characters, such as:
sub(">.*<", "", my_string)
But this obviously won't work here as there are a mix of many characters.