in reply to parsing html

regex modifier 's' should do the trick:

$line =~ /<td(.*?)>(.*?)<\/td>/s

McA

Replies are listed 'Best First'.
Re^2: parsing html
by qingxia (Novice) on Mar 21, 2013 at 23:03 UTC
    thx to McA. It works well.