title: Regular expression to match a pattern inside awk command
body: <p>I need to write a regular expression to match the following pattern :</p>
  
  <pre><code>fltr_desc_name
  </code></pre>
  
  <p>that is.. 
  "fltr" followed by an underscore followed by any number of words separated by underscore.</p>
  
  <p>for example: 
  I need a regular expression to match the following : </p>
  
  <pre><code>fltr_desc_name
  fltr_nameone_nametwo
  fltr_level_name_desc
  </code></pre>
  
  <p>and I am using it inside an "if" statement in "awk":
  for ex:</p>
  
  <pre><code>awk '/Transformation/ { if ($4=="Filter" &amp;&amp; $5=="fltr_*") print $4,$5 }' filename  
  </code></pre>
  
  <p>please help me in writing the regular expression and tell me how to use regular expression inside an "if" condition inside "awk" command. Thank you.</p>