I currently have a large string big_string
that contains elements like:
..."string1":"74f07sdfafeijsfeijfsl","string2":"XRewejffeew","zero_data":{},"string3":"c2d8f4380025",...
I would like to extract the string after "string2"
, so that I can have a variable:
substring = 'XRewejffeew'
Is there a way to do this with re.findall()
?