Php regular writing

$str = "<img class="face" src="xxxxx"><img src="xxxx"><img class="face" src="xxxxx"><img src="xxxx">";
< hr > There may be other characters in

;

wants to use the rule to replace the picture except class that is not face with [picture]
and input the picture of class= "face" as is;
is not very regular, but I hope someone can help write one!

if the string is:
$str = "Hello, xxx ";

replace with output:
Hello, xxx [picture]

Apr.07,2021

/ / g

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1e45989-43624.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1e45989-43624.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?