title: Remove uuid4 string pattern
body: <p>I have the below string examples</p>
  
  <pre><code>1# 00000 Gin-a19ea68e-64bf-4471-b4d1-44f6bd9c1708-62fa6ae2-599c-4ff1-8249-bf6411ce3be7-83930e63-2149-40f0-b6ff-0838596a9b89 Kin
  
  2# 00000 Gin-a19ea68e-64bf-4471-b4d1-44f6bd9c1708 Kin
  </code></pre>
  
  <p>I am trying to remove the uuid4 generated string and any text that comes to the right of uuid4 string pattern in python.</p>
  
  <p>The output should be <code>00000 Gin</code> in both the examples</p>
  
  <p>I have checked here <a href="https://stackoverflow.com/questions/11384589/what-is-the-correct-regex-for-matching-values-generated-by-uuid-uuid4-hex">What is the correct regex for matching values generated by uuid.uuid4().hex?</a>. But still doesnt help.</p>