I'm trying in python to search in html pages.
I need to find somthing inside the pages alle links there have a kind of match and after that the hole url to return.
My link can look link this href="http://example.com/page/subpage/unik-id-12345"
and i have trying to wirte a small regex to get a sample out.
href\=\"(.*)\">
The problem is its taken everything inside, and i can't find how i can search only somthing inside the href tag.
hope you understand and hope you can help me to fix this issue.
what i want its search after eg. example.com/page