How to remove characters from a list. : <p>I have a list output:</p>

<blockquote>
  <p>['Go497f9te(40RAAC34)\n','G0THDU433(40RAAC33)\n']</p>
</blockquote>

<p>and I want to clean it up in order to output:</p>

<blockquote>
  <p>[40RAAC34,40RAAC33]</p>
</blockquote>
