Sean Wei says to YSITD
s/(.)(.)\1/$1,$2$1