title: String splitting in Python using regex
body: <p>I'm trying to split a string in Python so that I get everything before a certain regex.</p>
  
  <p>example string: <code>"Some.File.Num10.example.txt"</code></p>
  
  <p>I need everything before this part: <code>"Num10"</code>, regex: <code>r'Num\d\d'</code> (the number will vary and possibly what comes after).</p>
  
  <p>Any ideas on how to do this?</p>