Lets say I have:
a = r\'\'\' Example This is a very annoying string that takes up multiple lines and h@s a// kind{s} of stupid symbols in it ok String\'\'\'
a=re.sub('This.*ok','',a,flags=re.DOTALL)