9 lines
345 B
Python
9 lines
345 B
Python
with open('src/main/resources/templates/doctor.html', 'r', encoding='utf-8') as f:
|
|
text = f.read()
|
|
|
|
import re
|
|
match = re.search(r'<div class="bg-white rounded-xl overview-wrapper-shadow flex flex-col justify-between h-full">(.*?)<div class="bg-white rounded-xl overview-wrapper-shadow', text, re.DOTALL)
|
|
if match:
|
|
print(match.group(1))
|
|
|