Silverfox wrote:
hey guys, I'm trying to figure out how to stripe "Anything Else", "7:15pm" and "9:50pm" from the below html code. Any ides?

<td><font class=smalllist><a href="/showtimes/movie.adp?movieid=16038&date=20030929&theaterid=757"

Anything Else</a> &nbsp;<nobr>(R, 108 min.)</nobr><br><a

href=https://tickets.moviefone.com/ticketing/order.adp?movieid=16038&theaterid=757&showdate=20030929&showtime=1915&screenId=3


7:15pm</a> | <a

href=https://tickets.moviefone.com/ticketing/order.adp?movieid=16038&theaterid=757&showdate=20030929&showtime=2150&screenId=3


9:50pm</a></font></td>


I'm trying to use "curl" on my linux box to grab data from this web site....heheheh

Thx....

You can easily write regular expressions to extract whatever is there between <a> .. </a> and you can find ample help for that on the net, But just a sec there are hundreds of modules that can do html parsing. It would initially take some effort to install one and learn the syntax , But then You will never have any problems after that.


For your problem try HTML::LinkExtor
Hope that helps
Ram




-- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to