How can I whitelist a character from being escaped in express-validator?

I am using https://github.com/ctavan/express-validator specifically the sanitize(‘item’).escape() method. I would like to allow single quotes. Is there a way to whitelist the character?

You could try using whitelist method.