RegexOptions options = RegexOptions.None;
Regex regex = new Regex(@"[ ]{2,}", options);
tempo = regex.Replace(tempo, @" ");
or even:
myString = Regex.Replace(myString, @"\s+", " ");
Here you will find about .net technology. also can get example about MVC.net and jquery.
In this article, you will learn how to build a real-world WhatsApp chatbot using ASP.NET Core and OpenAI. This bot can automatically repl...
No comments:
Post a Comment