How to extract img src, title and alt from html using php? [duplicate]
EDIT : now that I know better Using regexp to solve this kind of problem is a bad idea and will likely lead in unmaintainable and unreliable code. Better use an HTML parser. Solution With regexp In that case it’s better to split the process into two parts : get all the img tag extract … Read more