title: How to remove parenthesis from elements in a list (Python)
body: <p>I'm trying to remove some parenthesis from numbers in my list. Example, I have the following list</p>
  
  <pre><code>[' 103.92246(11)\n'],
  [' 104.92394(11)\n'],
  [' 105.92797(21)#\n'],
  [' 106.93031(43)#\n'],
  [' 107.93484(32)#\n'],
  [' 108.93763(54)#\n'],
  [' 109.94244(54)#\n'],
  [' 110.94565(54)#\n'],
  [' 111.95083(75)#\n'],
  [' 112.95470(86)#\n'],
  [' 82.94874(54)#\n'],
  [' 83.94009(43)#\n'],
  [' 84.93655(30)#\n'],
  [' 85.93070(47)\n'],
  [' 86.92733(24)\n'],
  ...]
  </code></pre>
  
  <p>for example, for the first element in my list I have 103.92246(11), were I want () stripped from it to give 103.92246. Some elements also have # which I want removed too, basically all I want is the float number. How would I go about doing this?
  I've tried the below code, but that doesn't seem to be working for me.</p>
  
  <pre><code>tolist = []
  for num in mylist:
    a = re.sub('()', '', num)
  tolist.append(a)
  </code></pre>