title: GSUB with Postgres
body: <p>How would I edit the memos below to remove QPC CANCEL and the following letters and numbers after the first set of numbers?</p>
  
  <p>Input:</p>
  
  <pre><code>Memo field: QPC CANCEL 861518069 CONV. TO Test Receipt 1430
  Memo field: QPC CANCEL 8615315362 Another test transaction
  Memo field: QPC CANCEL 86151343 Our third test transaction
  </code></pre>
  
  <p>Output:</p>
  
  <pre><code>Memo field: 861518069
  Memo field: 8615315362
  Memo field: 86151343
  </code></pre>