I'm trying to extract string between parentheses() that match certain substring.
I've been able to extract the string between () already, but couldn't fit in the substring requirement.
Reference: Regular expression to extract text between square brackets
links = re.findall(r'\(([^)]+)\)', page_content)
My code only extract the entire string between (), where do I insert the substring
inside regex?
Sample input:
(XYZ) | **Birthdate**: Dec 10, 1983; - **Social Media**: [Daum Cafe](http://cafe.daum.net/swedjs), [Instagram](https://www.instagram.com/skslzowk/), [Facebook](https://www.facebook.com/sdiwoel)
The output should only be the link for facebook: https://www.facebook.com/sdiwoel