driver.page_source="BIG HTM DOCUMENT.....................................................";
reg_exp = re.escape('poisk.stroki')
if (match_list2 := re.search(r'(%s)\b'%reg_exp, driver.page_source, re.MULTILINE)) is not None:
print('YES)<br>')
else:
print('NOO)<br>')