Strip trailing punctuation from author search terms.