in reply to Re^2: How to extract text present in 3 lines within the HTML tags
in thread How to extract text present in 3 lines within the HTML tags

and since that snippet is XML valid, you can use XML::Twig
  • Comment on Re^3: How to extract text present in 3 lines within the HTML tags