tighten up pattern matching a bit
sanitize message text