Please tell me how to create a regular expression for preg_replace, so that when you save the reference type
<img src="img/image.jpg" title="desc" alt="titles" widht="200" height="100" /> link modified in
<span itemprop="image" itemscope itemtype="https://schema.org/ImageObject"> <img itemprop="url" itemprop="image" class="class" title="desc" src="img/image.jpg" alt="" width="200" height="100" /> <meta itemprop="width" content="200"> <meta itemprop="height" content="100"> </span> I forgot to clarify the images contained in the text, and you need to return the string with the text