On Wed, 11 Jul 2007 03:40:06 +0000, hari.siri74 wrote: > Extract the application name with version from an RPM string like > hpsmh-1.1.1.2-0-RHEL3-Linux.RPM, i require to extract hpsmh-1.1.1.2-0 > from above string. Sometimes the RPM string may be hpsmh-1.1.1.2-RHEL3- > Linux.RPM.
Thank you for sharing. The answer to your problem is here: http://tinyurl.com/anel -- Steven. -- http://mail.python.org/mailman/listinfo/python-list