Help with express-validator escape!

I am using Express-validator for Validating user input in my project, and I am using the escape() function to prevent the user from trying to inject anything.
    check("newPost", "field must not be empty")
      .exists({ checkFalsy: true })
  (req, res) => { of code... };

my problem is I want to only escape these “<” and “>” but not the ’ and " and &. how do I do this?

Do you actually need escape or are you just trying to disallow < and > ? There is a blacklist sanitizer you can use to remove characters.