stefansteve1999@tg says to OwO
s/(?=(a+|a+a+|a+a+a+))+a/x