I am trying to match only the <a> </a>
tag of the string below to "Services Team Members - Ryde".
<a href="/cmp/_/job?jk=3711c253b2f3ccef&tk=1a1dof">Services Team Members - Ryde</a>
The Challenge is to EXCLUDE the random string after "...p/_/job?" Currently my solution include the random in the result
<a href="/cmp/_/job\?(.*)>(.*)</a>
I have looked into lookarounds but could not get them to work
split into tokens and cycle through the tokens which is more tedious than regexing anywhere on the page mid text. The main purpose of this post is to understand how to implement 'lookarounds' in Python.