Added ! exclamation mark to the list of allowed characters