title: Remove string starting with certain character
body: <p>I am manipulating some content that I receive from an API. At the end of the main text field, The api sometimes returns the string below:</p>
  
  <pre><code>@@canvas-link@@{"type":"doc","fileName":"xyzv2.jpg","fileExt":"jpg",
           "fileSize":"232352",
                 "file":"405957767101","downloadUrl":"dummytext"}
  </code></pre>
  
  <p>What is the best way to remove this string from the main text field?</p>