Maybe there’s a more engineered solution, but this should do the trick:
var result = "A Not B And Not C".Replace("Not", "And Not").Replace("And And Not", "And Not")
solved Replace Not with And Not in string [closed]
Maybe there’s a more engineered solution, but this should do the trick:
var result = "A Not B And Not C".Replace("Not", "And Not").Replace("And And Not", "And Not")
solved Replace Not with And Not in string [closed]