<?php $txt = 'aab bbcdaddeeff'; if (preg_match('/([a-z])\1{2,}/', $txt)) echo 'The string is not valid';
You have javascript disabled. You will not be able to edit any code.