Regular expression to find “src” attribute of HTML “img” element in PHP

前端 未结 4 2014
借酒劲吻你
借酒劲吻你 2020-12-10 20:04

I have a string, inside of that I have an image:

\"

<

4条回答
  •  难免孤独
    2020-12-10 20:22

    Thank every one for helping me out.

    I found my solution by using:

    pattern = "/src=([^\\\"]+)/"
    

提交回复
热议问题