Use the regexp outside the validator