reject any characters followed by "#"