import res = """`Hel"lo` 2* "Hel`lo\""""print([x.group(2) for x in re.finditer(r"([\"'`])(.*?)\1", s)])
Standard input is empty
['Hel"lo', 'Hel`lo']
The brand new service which powers Ideone!
Widget for compiling and running the source code in a web browser!