I have many patterns that want to find matched string in many string arrays and replace them with \"NON\" string. for example, if we have:
str[0]={\"this\",\"is\
A one liner just for fun :]
str = Array.ConvertAll(str, a => Array.ConvertAll(a, i => patterns.Contains(i) ? "NON" : i));