I have a string
string name = \"AL QADEER UR AL REHMAN AL KHALIL UN\";
How would I remove all characters AL, UR,
AL
UR
var words = new[] { "AL", "UR", "UN" }; var arr = systemName.Split(new[] { " " }, StringSplitOptions.RemoveEmptyEntries).Except(words); systemName = string.Join(" ", arr);