What should I do if I intercept the image name of a webpage?

Source: Internet
Author: User
There are a lot of code for capturing a webpage's image name: HTMLcode & lt; ahref = & quot;/index. php/Image: EISL_1.1.6.gif & quot; class = & quot; image & quot; title = & quot; Image: Capture of the Image name of a webpage by EIS
There are many Web page codes:

HTML code
  
Homogeneous pool for paving and stirring

Perforated flow channel homogeneous pool

Now I only need to get the image name (EISL 1.1.6.gif). What should I do?
What else can I do with regular expression truncation? Guidance


------ Solution --------------------
$ Contents = preg_replace ('/poweredby_mediawiki_88x31 \. png/S',', $ contents); // add a step to filter it out.

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.