removed reg ex code