Hello,
string str = "Computer & Web Solution / deva/sasasa@ww";
String stre = Regex.Replace(str, @"[^0-9a-zA-Z]+", "-");
My Result = Computer-Web-Solution-deva-sasasa-ww
How to get "Computer & Web Solution / deva/sasasa@ww" (Old String ) with Regex Or other Code
1 Reply
Know the answer? Post it — somebody with the same question will find it here.
Sign in to answer this question
It is the same account you read, post and publish with — and you will come straight back to this page.
Amit GuptaPosted Sep 23, 2017, 10:05 PM