strip pmids so they can be added with spaces

also remove nonprinting characters so robust to weird copy and paste stuff