<?php $regex = '#([a-zA-z ])\1{2,}$#'; $string = 'rrrr'; preg_match($regex, $string, $matches); var_dump($matches);
You have javascript disabled. You will not be able to edit any code.