I have something like
store (s)
end of line as 1 store (s) .. I want to match using python regex.
I tried something like re.match('store\(s\)$',text)
but it does not work.
EDIT: adding code I tried
import re
s = '1 store(s)'
if re.match('store\(s\)$',s) :
print('match')
Help Pls.
Thanks Jijoy
Jijoy source
share