Match start and end of file in python with regex,"print(re.findall('^.*\\.$\\Z', data, re.MULTILINE))"