title: How to create new columns by extracting numbers from a vector column with regex?
body: <p>I need to extract numbers from a vector column using regex and create columns for each number. The length of the vector will not be the same for each row.</p>
  
  <p>For other purposes such as counting the number of elements within the vector I have used </p>
  
  <pre><code>str_count(DATA$vectorCOL, '[0-9.+]+')
  </code></pre>
  
  <p>This is the data column</p>
  
  <pre><code>vectorCOL
  63.
  11., 36., 45+1., 79., 90+1.
  
  45., 80., 87.
  </code></pre>
  
  <p>Expected output</p>
  
  <pre><code>vectorCOL                    col1  col2 col3  col4 col5
  63.                          63    NA   NA    NA   NA
  11., 36., 45+1., 79., 90+1.  11    36   45+1  79   90+1
                               NA    NA   NA    NA   NA
  45., 80., 87.                45    80   87    NA   NA
  </code></pre>