Js替换字符串中img标签

Js替换字符串中img标签,图片,img,str = &apos;abcd<img src="images/01.webp">asdasd<img src="images/02.webp">fsfasd&apos;;str=st