title: Use regex to extract substring from pandas column
body: <p>I have columns with values like this:</p>
  
  <pre><code>Col1
  
  1/1/100 'BA1
  1/1/102Packe
  1/1/102 'to_
  </code></pre>
  
  <p>And need to extract just 1/1/100 (from the first row) and so on (1/1/102...)</p>
  
  <p>I am using:</p>
  
  <pre><code>df['col1'] = df['col1'].str.extract('(\d+)/(\d+)/(\d+)', expand=True)
  </code></pre>
  
  <p>But I'm getting only 1. </p>
  
  <p>Not sure why this is not working, is there a problem with regex or I need some kind of mapping?</p>