Remove unnecessary regex