I am trying to create regex that matches the following pattern:
Note : x is a number e.g. 2
Pattern:
u'id': u'x' # x = Any Number e.g: u'id': u'2'
So far I have tried the folllowing:
Regex = re.findall(r"'(u'id':u\d)'", Data)
However, no matches are being found.
r"u'id'\s*:\s*u'\d+'"