title: Is it possible for regex to recognize whether a column is a string or an int?
body: <p>My goal is to split the string into groups. The problem is the current regex fails to recognize the part correctly.</p>
  <p>The regex:</p>
  <pre><code>^(?: {2,})?(?P&lt;TANGGAL&gt;[0-9]{2}/[0-9]{2}){0,1}(?: {2,})?(?P&lt;KETERANGAN1&gt;[\w-/:]+(?: [\w-/:]+)*){0,1}(?: {2,})?(?P&lt;KETERANGAN2&gt;[\w-/:]+(?: [\w-/:]+)*){0,1}(?: {2})?(?P&lt;SALDO&gt;[\d,.]+){0,1}
  </code></pre>
  <p>The string:</p>
  <pre><code>      01/07          SALDO AWAL                                                                                                                       1,000.00
  </code></pre>
  <p>The problem:
  The regex captures:</p>
  <ol>
  <li><code>1</code> from the string <code>1,000.00</code> as Group <code>KETERANGAN2</code> instead of Group <code>SALDO</code>.</li>
  <li><code>,000.00</code> as Group <code>SALDO</code> instead of capturing the whole <code>1,000.00</code>.</li>
  </ol>