﻿file = r'resources\views\panel-tests\divisi\create.blade.php'
with open(file, 'r', encoding='utf-8') as f:
    c = f.read()

# Cari dan hapus blok info region
import re
c = re.sub(r'\s*<div class="p-3 rounded.*?Panel test ini akan otomatis masuk ke.*?</div>\s*', '\n', c, flags=re.DOTALL)

with open(file, 'w', encoding='utf-8') as f:
    f.write(c)
print("OK!")
