<?php $html = 'smdf <b>smth</b>, <b>smth</b> nag'; var_dump(!preg_match('|</b>.*[A-zА-яЁё0-9]+.*<b|', $html));
You have javascript disabled. You will not be able to edit any code.