title: How to remove or trim special characters/prefixes from payload in Mule 4
body: <p>I need to trim/remove the special characters from a payload.
  example- input-</p>
  <pre><code>�~�{
    &quot;Employee&quot;: &quot;Sara&quot;,
    &quot;number&quot;: {
      &quot;id&quot;: &quot;d1q2&quot;,
      &quot;designation&quot;: &quot;CYUL&quot;
        }
  }
  </code></pre>
  <p>output-</p>
  <pre><code>{
    &quot;Employee&quot;: &quot;Sara&quot;,
    &quot;number&quot;: {
      &quot;id&quot;: &quot;d1q2&quot;,
      &quot;designation&quot;: &quot;CYUL&quot;
        }
  }
  </code></pre>
  <p>I am trying to remove the before characters of &quot;Employee&quot; before curly braces in the beginning whatever is present should be removed and just a JSON structure should be present starting from curly braces and before whatever comes should be removed tried everything unable to do. Please help me in resolving my issue.</p>