How to replace the URL using C#
<p>I have to split and replace the values using C# and want to find the last occurring slash / from a string and replace the contents after the last slash / For example:</p>

<blockquote>
  <p>var word = "www.abc/def/ghf/ijk/<strong>default.aspx</strong>";</p>
</blockquote>

<p>should become</p>

<blockquote>
  <p>var word ="www.abc/def/ghf/ijk/<strong>replacement</strong>";</p>
</blockquote>

<p>The number of slashes may vary each time.</p>
