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.
But, I want to detect the 'select' tag and the data in between.
return Pattern.compile(pattern,
Pattern.CASE_INSENSITIVE | Pattern.MULTILINE |
Pattern.DOTALL);
/// End right angle bracket left off intentionally:
track_pattern_buf.append("<select");
track_pattern_buf.append("(.*?)");
track_pattern_buf.append("</select");
Is this the 'regex' that you would use?