1
Colleagues.
I don’t know much about regular expressions, but I need to know how to break a line after the tag < img > . For example.:
$string = "< img src='images/image.jpg' > here there will be line break";
Would that way:
(the image)
here there will be the line break
Hello Bacco... almost the same case. I used your previous example and it worked perfectly, I was able to take the [caption] tag, but now the text has an image and in the return appears the image and next to the texts. I wish that after the image, there was the line break, so that the texts were below the image.
– user24136