title: How can I create a regular expression in Python?
body: <p>I'm trying to create regular expressions to filter certain text from a text file. What I want to filter has this format:</p>
  
  <pre><code>word_*_word.word
  </code></pre>
  
  <p>So for example, I would like the python code every match. Sample results would be:</p>
  
  <pre><code>program1_0.0-1_log.build
  program2_0.1-3_log.build
  </code></pre>
  
  <p>How can I do this?</p>
  
  <p>Thanks a lot for your help</p>