content = content.replaceAll("(<img[^>]*?)\\s+width\\s*[:|=]\\s*\\S+","$1"); content = content.replaceAll("(<img[^>]*?)\\s+height\\s*[:|=]\\s*\\S+","$1");