ASP.NET - Finding and Replacing a Dynamically Generated URL in Text
===

I am working on an asp.net (C#) application where I need to parse and replace dynamically generated text

A samle of the text is:		 
onclick="javascript:EnterFolder('http:\u002f\u002fmyserver\u002fapps\u002fsitename\u002fsubsite1name?

I need to replace it with :	 
onclick="javascript:EnterFolder('http:\u002f\u002fmyserver\u002fapps\u002fsitename?

Simply sinding and removing 'subsite1' is not suitable because it exists in other parts of the text and is needed there.

I only wish to target and edit the urls preceded with: javascript:EnterFolder('

Please help