3v4l.org

run code in 300+ PHP versions simultaneously
<?php $html = '<b>smth</b> smth <b>smth</b>'; var_dump(!preg_match('|</b>.*[A-zА-яЁё0-9]+.*<b|', $html));

preferences:
60.17 ms | 402 KiB | 5 Q