title: remove a specific string from an object in an array
body: <p>i have a data as below;</p>
  <pre><code>var item = [
    {
      id: 3391396,
      content:
        'D &lt;span class=&quot;searchmatch&quot;&gt;A&lt;/span&gt; (born 17 December 2004) is a swimmer specialized in freestyle swimming. She qualified for the 800m freestyle event of the 2020 Summer',
    },
    {
      id: 49247051,
      content:
        'The footballer &lt;span class=&quot;searchmatch&quot;&gt;A&lt;/span&gt; Demir (born 1979), Macedonian football player &lt;span class=&quot;searchmatch&quot;&gt;A&lt;/span&gt; Irizik (born 1964), Swiss footballer &lt;span class=&quot;searchmatch&quot;&gt;A&lt;/span&gt; Tombak (born 1999),',
    },
    {
      id: 38317336,
      content:
        '&lt;span class=&quot;searchmatch&quot;&gt;A&lt;/span&gt; Selan (born 4 December 1977) is a Macedonian-Turkish stage and screen actor. He was born in Skopje, SR Macedonia, SFR Yugoslavia. He is of Turkish',
    },
  ];
  </code></pre>
  <p>I want to remove every &quot;<code>&lt;span class=&quot;searchmatch&quot;&gt;</code>&quot; and it's correlated &quot;<code>&lt;/span&gt;</code>&quot; from all of them with split&amp;join || replaceAll method but i couldn't reach all objects with for loop, how can i do it? Thanks.</p>