Ignore pound after extension dial

We have people who like to press the # key after the extension but it just returns invalid extension. Is there a way to have these ignored without affecting the menus?