fork download
  1. import re
  2. s = r'\"key\":\"How are you? \"Great!\" he said. \"Coffee ?\"\",'
  3. p = re.compile(r"\\\"key\\\":\\\"(.*)\\\",")
  4. print(p.search(s).group(1))
Success #stdin #stdout 0.02s 9344KB
stdin
Standard input is empty
stdout
How are you? \"Great!\" he said. \"Coffee ?\"