var str:String = 'Текст, картинка: <img src="picture">. Текст...' var newstr:String = str.split('<img src="').join("").split('">').join("")