def normalise(name):
return re.sub('<STR_LIT>', '<STR_LIT:U+0020>', name.lower()).strip()<EOL>
>>> normalise('Foo  Bar Ltd.')
u'foo bar ltd'
>>> normalise('BAZ JIM LTD')
u'baz jim ltd'
>>> normalise('BAZ-JIM (South) LTD.')
u'baz jim south ltd'