I think this is what you want:

((.{2,}?)(\s*\2){4,})

And it's nearly identical to what you wanted here: https://forums.mirc.com/ubbthreads.php/topics/255708/