I'm upgrading a set of web pages to a new system, and I want to strip out and replace the boilerplate at the top of each page, and replace it with new boilerplate. Fortunately, each page has a content table, and no tables before it. I want to do something like:
$contents =~ s/^.*
以上就是How can I remove a table from an HTML document?的详细内容,更多请关注web前端其它相关文章!