[Tutor] Regex help please.

Sean 'Shaleh' Perry shalehperry@attbi.com
Wed, 14 Aug 2002 07:16:39 -0700 (PDT)


>> 
>> to nit pick the regex, it should be '\.htm'.  A period in a regex means
>> "any
>> character".
> 
> But Res are overkill anyway for this task.
> 
> new_name=old_name[1:]+'l'
> 
> should be enough.
> Untested.
> 

no because you have to find the string first (-: