find a "imagefilename.jpg" in a text with php
Posted on 2011-02-26
How to find a image filename in a text with php to make an embeded image ?....
Well, I do have an exported text (a diary) in plain text ... in this text there are filenames of the images attached to the specific day .. how can I replace the filename with a new <img src="thefile.jpg"> with php?
And how can I make a CSS to style it? ... first line = h2 etc ...
Monday 23rd of May
This is the day. The sun is bright and live is good
Photos: IMG00283750.jpg, IMG985749.jpg