title: Regular Expression to extract specific text from string
body: <p>I am new to Regex and try to extract a 16x character piece of text from a list of strings. </p>
  
  <p>Sample list:</p>
  
  <pre><code>myString = ['  pon-3-1    |    UnReg 5A594F4380661123           1234567890               Active',
              '  pon-3-1    |    UnReg 5A594F43805FA456           1234567890               Active',
              '  pon-3-1    |    UnReg 4244434D73B24789           1234567890               Active', 
              '  pon-3-1    |    UnReg 5A594F43805FB000           1234567890               Active',
              'sw-frombananaramatoyourmama-01'
             ]
  </code></pre>
  
  <p>I cannot use a simple regex like (\w{16}) as this will include all text with 16 characters. 
  I also tried (\w+A) which, depending on the characters in the string, don't return the correct results. </p>
  
  <pre class="lang-py prettyprint-override"><code>newArry = []
  for i in myString:
     number = re.search('(\w{16})', i)
     newArr.append(number[0])
  
  print(newArr)
  </code></pre>
  
  <p>Returns:</p>
  
  <pre class="lang-py prettyprint-override"><code>['5A594F4380661123', '5A594F43805FA456', '4244434D73B24789', '5A594F43805FB000', 'frombananaramato']
  </code></pre>
  
  <ol>
  <li>I want to extract only:
  
  <ul>
  <li>5A594F4380661123</li>
  <li>5A594F43805FA456</li>
  <li>4244434D73B24789</li>
  <li>5A594F43805FB000</li>
  </ul></li>
  </ol>
  
  <p>Any ideas?</p>
  
  <p>Many thanks in advance</p>