> But then you introduced more. oops. old habits...
> mxTextTools. This looks cool, so does the associated book - "Text Processing in Python". I'll look into them. > def normalise_whitespace(s): > return ' '.join(s.split()) Ok, fixed. > a.replace('\xA0', ' ') in there somewhere. Added. Thanks again. -- http://mail.python.org/mailman/listinfo/python-list