fix regex validation to our needs