This regex will do it:
^(?!.*([A-Za-z0-9])1{2})(?=.*[a-z])(?=.*d)[A-Za-z0-9]+$
Here's the breakdown:
(?!.*([A-Za-z0-9])1{2})
makes sure that none of the chars repeat more than twice in a row.
(?=.*[a-z])
requires at least one lowercase letter
(?=.*d)
requires at least one digit
[A-Za-z0-9]+
allows only letters and digits
EDIT :
removed an extraneous .*
from the negative lookahead
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…