import re script_replacement = """ """ file_path = 'src/main/resources/templates/dao-tao-detail.html' with open(file_path, 'r') as f: content = f.read() # Pattern matches from to the end of the