You're capturing the spaces, this forces the same number of spaces to occur after each word - including the last. I think mIRC also chokes on the comma, separate the regex:

Code:
var %regex = /(\S+)(\s*\1){7,}/i
echo -ag $regex($1-,%regex)

Last edited by Loki12583; 14/11/15 11:21 PM.