<td align="right" class="textfield" colspan="2">
          <span class="sequence-star">
<span class="titolo-hotel">
1  per 1 guest
<br/>
<br/>
Start date Monday, March 12 2007
<br/>
End date Tuesday, March 13 2007
<br/>

My html page looks like as given above. And my RE to capture the dates are given below. Kindly suggest me the beat way to do that?
                                                                

$data= $1 if ($html =~ m!<.*?,(.*)<!si)
($from,$to)= split(/,/,$data);

        $from =~ s!$[^\d]*!!i;

        $to =~ s!^[^\d]*!!i;
Thanks,
Boniface

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
http://learn.perl.org/


Reply via email to