This code shows you how to remove a string that is between two strings
CODE:
";
string pattern = @"]*>(.*?)";
foreach (Match m in Regex.Matches(str1, pattern))
{
str1 = str1.Replace(m.ToString(),"");
}
Response.Write(str1);
//output
This blog is about the dotnet.all types of codes,news about dotnet including asp.net,vb.net,c# and know about new dotnet technology.programing in asp.net,vb.net,c#, ajax, AJAX tech support for .net and discuss the new technology in dotnet.ncluding asp.net,vb.net,c# and know about new dotnet technology.programing in asp.net,vb.net,c#, ajax, AJAX tech support for .net and discuss the new technology in dotnet.asp.net programming,dot net programming,dotnet programs,dotnet source code,source code.
This code shows you how to remove a string that is between two strings
CODE:
";
string pattern = @"]*>(.*?)";
foreach (Match m in Regex.Matches(str1, pattern))
{
str1 = str1.Replace(m.ToString(),"");
}
Response.Write(str1);
//output
0 comments:
Post a Comment