Reg ex correction