newpass() function: Remove word boundary characters