Using older version of Indicative or @adonisjs/validator?. Click here to access the old version documentation.



Normalizes the email address by removing unwanted characters from it. For example will become and also it will normalize the characters case too.

If value is not a string, it will be returned as it is, otherwise it is passed to validator.js normalizeEmail method.