ASPForums.Net RSS Feedhttp://www.aspforums.net/Handlers/RSS.ashxLatest additions to the content that appears on ASPForums.Net(c) 2019 www.aspforums.com. All rights reserved.Replace String from Text C# and VB.Net in ASP.Net<p>Hi <a class="username" rel="tareq24bd"> tareq24bd</a>,</p> <p>Please refer below sample.</p> <p><span style="text-decoration: underline;"><strong>Code</strong></span></p> <p><strong>C#</strong></p> <pre class="brush: csharp">protected void Page_Load(object sender, EventArgs e) { lblMessage.Text = (&#34;kjljk ;lkjlkj ((((( jlkj;lkj lkjl;kj;lkj&#34;).ToString().Replace(&#34;(((((&#34;, &#34;ppp&#34;); }</pre> <p><strong>VB.Net</strong></p> <pre class="brush: vb">Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load lblMessage.Text = (&#34;kjljk ;lkjlkj ((((( jlkj;lkj lkjl;kj;lkj&#34;).ToString().Replace(&#34;(((((&#34;, &#34;ppp&#34;) End Sub</pre> <p><span style="text-decoration: underline;"><strong>Output</strong></span></p> <div><span id="lblMessage">kjljk ;lkjlkj ppp jlkj;lkj lkjl;kj;lkj</span></div> <p>&nbsp;</p>https://www.aspforums.net:443/Threads/189893/Replace-String-from-Text-C-and-VBNet-in-ASPNet/https://www.aspforums.net:443/Threads/189893/Replace-String-from-Text-C-and-VBNet-in-ASPNet/Sun, 24 Feb 2019 22:55:12 GMT