I need to format the string so that it should ignore case. if the word is "it" then it should consider "It" an "IT" also.How can i achieve that.I have a search function which looks for the word in word document. The below format is to search for the wholeword "it" and not between any word like w"it"nessed. I also want to include the ignore case format. How do i do that
string Pattern = String.Format("<{0}>", text);