http://www.perlmonks.org?node_id=256987


in reply to Re: Strip HTML line breaks from list of URLs
in thread Strip HTML line breaks from list of URLs

And what if the html source changes to xhtml and the <br>'s become <br />?
  • Comment on Re: (2) Strip HTML line breaks from list of URLs

Replies are listed 'Best First'.
Re: (3) Strip HTML line breaks from list of URLs
by diotalevi (Canon) on May 09, 2003 at 21:46 UTC

    Then it breaks. I didn't even pretend that the regex as given would parse HTML. It just alters a string which happens to have some HTML of a known format in it.