title: Regex in Java, finding start and end tag
body: <p>I am trying to find data within a HTML document.  I don't need a full blown parser as it is just the data between one tag.</p>
  
  <p>But, I want to detect the 'select' tag and the data in between. </p>
  
  <pre><code>return Pattern.compile(pattern, 
                         Pattern.CASE_INSENSITIVE | Pattern.MULTILINE |
                         Pattern.DOTALL);
  
  /// End right angle bracket left off intentionally:
  track_pattern_buf.append("&lt;select");
  track_pattern_buf.append("(.*?)");
  track_pattern_buf.append("&lt;/select");
  </code></pre>
  
  <p>Is this the 'regex' that you would use?</p>