Il Fri, 03 Aug 2007 14:41:52 -0700, Ehsan ha scritto: maybe you can use this to solve your prob:
myurl = "http://www.2shared.com/download/1716611/e2000f22/ Jadeed_Mlak14.wmv?tsid=20070803-164051-9d637d11" if myurl.startswith('http') and ('wmv' in myurl or '3pg' in myurl): # myurl is the complete address you want print myurl ##################################### about re, I'm waiting for someone enlightening all us, bye Fabio -- http://mail.python.org/mailman/listinfo/python-list