u'abcde(date='2/xc2/xb2',time='/case/test.png')'
All I need is the contents inside the parenthesis.
Advertisement
Answer
If your problem is really just this simple, you don’t need regex:
s[s.find("(")+1:s.find(")")]
u'abcde(date='2/xc2/xb2',time='/case/test.png')'
All I need is the contents inside the parenthesis.
If your problem is really just this simple, you don’t need regex:
s[s.find("(")+1:s.find(")")]