|
I have a little coding I need help with and hope somebody can lend assistance.
Here is what I am trying to do, currently this works very well but I need to not replace any image tag that has an alt tag in it. Thanks.
preg_replace( "#<img(?:.+?)src=[\"'](\S+?)['\"][^>]+?>#is", "image holder", $comment );
|