How to get the content in <td></td>

Source: Internet
Author: User
How to getWhat's in it?
















Trademark Name

Shang

Registration number/Application number 9326603
International Classification Number 14 Application Date 2011/4/12

How to getIn the content, thank you, can you put out the source code!!!!!
------Solution--------------------
This post was last edited by xuzuning on 2014-03-26 10:53:31

$s =<<< HTML
















Trademark Name

Shang

Registration number/Application number 9326603
International Classification Number 14 Application Date 2011/4/12

HTML;
Preg_match_all (' #< (TD) [^>]*> (. +) print_r ($r [2]);
Array
(
[0] + = trademark Name

Shang


[2] = = Registration number/Application number
[3] = 9326603
[4] = = International Classification No.
[5] = 14
[6] = = Application Date
[7] = 2011/4/12
)


------Solution--------------------
References:
Thank you very much, if you can also remove the HTML tag is better, such as

Array loop, pair value with Strip_tags ()
  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.