I have some text like test text 1 (something xxx) in excel file. I am trying to match everything inside the bracket () including the brackets
Below Pandas code that i use is not matching any record.
regex_pat = re.compile(r"\(.*$")
df['column'].str.match(regex_pat)
But the same pattern \(.*$
is working in notepad++ regex search. DO i need to change anything here.