title: pattern matching find the greater than symbol using regular expression
body: <p>I need a regular expression so that if I search for ">" greater than.</p>
  
  <p><strong>for example</strong></p>
  
  <p>for this string I will get true - "if x> 2"</p>
  
  <p>and for this string I will get false "<code>&lt;template&gt;</code>"</p>
  
  <p>I have tried this -  <code>[^&lt;][a-zA-Z0-9_]+[a-zA-Z0-9_ ]*&gt;</code>
  as the regular expression 
  but the problem is that it finds a substring that match 
  for example in <code>&lt;template&gt;</code>  it finds  <code>template&gt;</code>  and return true.</p>
  
  <p>thanks.</p>
  
  <p><strong>EDIT:</strong></p>
  
  <p>I am using this regular expression <code>[^&lt;a-zA-Z0-9_][a-zA-Z0-9_]+[ ]*&gt;</code> tried it over the entire firefox 1.0 source code and it seem to be working fine.</p>