I am trying to retrieve a hyperlink from a string. I am converting multile docx files to a dataframe with a column for hyperlinks. I did obtain a columnn with hyperlinks in it, but is also contains other text. Each row has text that looks as follows:
text ="<li> a lot of text a lot of text a lot of text a lot of text <a href=""https://www.google.com"">google.com</a>)</li>"
While text is a string. How can I retrieve the hyperlink from this string easily?