pattern match !

hari.siri74 at gmail.com hari.siri74 at gmail.com
Tue Jul 10 23:40:06 EDT 2007


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.




More information about the Python-list mailing list