Help for this page
/((.)(.)(.)(.)).*(\2\3\4.|\2\3.\5|\2.\4\5|.\3\4\5)/; # You want either $& or $1/$6, I guess: # print "($&)($1)($6)";