string regEx = "[`~!@#$%^&*()-+=|{}':;',\\[\\].<>/?~!@#¥%……&*()——+|{}【】‘;:”“’。,、?•]"; string result = Regex.Replace(name, regEx, "");
Powered by: 博客园 Copyright © 2024 zwei Powered by .NET 9.0 on Kubernetes