Regular Expressions

achaljalan at yahoo.com achaljalan at yahoo.com
Sat Mar 27 23:54:57 CET 2004


Hey,

I have a string

        s =740446505        "O'HANLON, Benjamin"

i need to use one RE to convert it into 
  
       (740446505, "O'HANLN", "Benjamin"),

I am using python 2.3 and have been stuydin the various tutotrials and the 
howto websites for the past 3 days and haven't managed to find a solution.

Any help to get to the solution will be very very helpful.

Thanks in advance for all the help.

Achal Jalan


---------------------------------
Do you Yahoo!?
Yahoo! Finance Tax Center - File online. File on time.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20040327/f6f98a2e/attachment.html>


More information about the Python-list mailing list