In article <1bbafe6d-e3bc-4d90-8a0a-0ca82808b...@d14g2000yql.googlegroups.com>, <krishnaposti...@gmail.com> wrote: > >My quick attempt is below: >obj = re.compile(r'\b[0-9|a-zA-Z]+[\w-]+') >>>> re.findall(obj, 'TestThis;1234;Test123AB-x') >['TestThis', '1234', 'Test123AB-x'] > >This is not working.
What isn't working? Why not just split() on ";"? You need to define your problem more precisely if you want us to help. -- Aahz (a...@pythoncraft.com) <*> http://www.pythoncraft.com/ "If you think it's expensive to hire a professional to do the job, wait until you hire an amateur." --Red Adair -- http://mail.python.org/mailman/listinfo/python-list