+ 1
What is the problem with this code ?
I was trying to remove the special characters.using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace SoloLearn { class Program { static void Main(string[] args) { string input = "Hi,welcome@ to -tut#lane.com"; string result = Regex.Replace(input," [^a-zA-Z0-9]+"," "); Console.Write("{0}",result); } } }
1 ответ
+ 1
Thank you so much coffeeunderrun.