title: Extracting ISIN, Cusip and other patterns from text in Python
body: <p>An ISIN code, or international securities identification number, is a 12 digit code consisting of numbers and letters that distinctly identify securities. </p>
  
  <p>An example of an ISIN is: LU1234567890</p>
  
  <p>If I have a long text string, how can I detect an ISIN-pattern and extract all the isins from it in Python?</p>