title: regex to get contents between <b> tag
body: <p>I have used following regex to get only contents between <code>&lt;b&gt;</code> and <code>&lt;/b&gt;</code> tags.</p>
  
  <pre><code>var bonly = defaultVal.match("&lt;b&gt;(.*?)&lt;/b&gt;");
  </code></pre>
  
  <p>but it did not worked. I'm not getting proper result. Sample string I'm using regex on:</p>
  
  <pre><code>&lt;b&gt;Item1&lt;/b&gt;: This is item 1 description.
  
  &lt;b&gt;Item1&lt;/b&gt;: This is item 1 description.&lt;b&gt;Item2&lt;/b&gt;: This is item 2 description.
  
  &lt;b&gt;Item1&lt;/b&gt;: &lt;b&gt;Item2&lt;/b&gt;: This is item 2 description. &lt;b&gt;Item3&lt;/b&gt;: This is item 3 description.&lt;b&gt;Item4&lt;/b&gt;:  
  
  &lt;b&gt;Item1&lt;/b&gt;: This is item 1 description.&lt;b&gt;Item2&lt;/b&gt;: This is item 2 description.    &lt;b&gt;Item3&lt;/b&gt;: This is item 3 description.&lt;b&gt;Item4&lt;/b&gt;: 
  </code></pre>
  
  <p>Here item name is compulsory but it may have description or may not have description.</p>