> -> longword_re = re.compile(r"[a-zA-Z1-9$]+") Note that Sean admitted (privately) that leaving out the '0' was unintentional ;) I tried it with [a-zA-Z0-9$] and got the same results, though. =Tony Meyer