title: How to format Python variable from table output before insert into a database
body: <p>I have a variable where the text keyword was extracted from the table form.</p>
  <p>Can someone suggest how I can format it properly before inserting it into a database?</p>
  <p><a href="https://i.stack.imgur.com/6H9O2.jpg" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/6H9O2.jpg" alt="enter image description here" /></a></p>
  <p>Below is the code and output of the variable:</p>
  <pre><code>output = pytesseract.image_to_string(image)
  print(output)
  </code></pre>
  <p>Result from output =</p>
  <pre><code>1) JP *00000.0000/UNT 0.07704 61628.21 0%(E) 0.00 ND
  </code></pre>