I have something like
store(s)
ending line like 1 store(s) .. I want to match , it using python regular expression.
I
have you considered re.match('(.*)store\(s\)$',text) ?
re.match('(.*)store\(s\)$',text)