hi I want the code for &b=52&f=norefer and &b=52
<blockquote>
  <p><strong>Possible Duplicate:</strong><br>
  <a href="http://stackoverflow.com/questions/4931398/i-want-the-pattern-for-removing-the-b-128f-norefer-from-following-url">I want the pattern for removing the &amp;b=128&amp;f=norefer  from following url</a>  </p>
</blockquote>



<pre><code>http://www.yahoo.com/url/5f&amp;b=52&amp;f=norefer 
http://www.yahoo.com/url/6aa82d?show=all&amp;page=2&amp;b=52 

String finalUrl =decodedUrl.replace("&amp;b=52","");
page.setPageUrl(finalUrl);
</code></pre>

<p>I want to remove <code>&amp;b=52&amp;f=norefer</code> from the first url and <code>&amp;b=52</code> and from the second url which pattern i will use please give me the code without hard-coded value.</p>
