[Tutor] Regex help please.

Sean 'Shaleh' Perry shalehperry@attbi.com
Mon, 12 Aug 2002 21:30:14 -0700 (PDT)


On 12-Aug-2002 SA wrote:
> Hi Everyone-
> 
> I am trying to match a string pattern like the following:
> 
> ?1234.htm
> 
> I would then like to extract the 1234 from the pattern and sub 1234.html for
> the pattern.
> 
> 
> Anyone know how to do this? Is there a simpler way than re?
> 

so 1234.htm becomes 1234.html.htm?