Question 1: A Vim solution
:%s/[FKOQRUXZ]/ /g :%s/[JLT]/\//g :%s/[AHW]/\\/g :%s/[BEINS]/_/g :%s/[CDGMPY]/|/g