Aspose words Find and replace

Hi,

I am working on Aspose find and replace. Here from given paragraph contents I want to pick only the exact matching with search1 and search2.

If text to search is search1 then the matched content from paragraphs one and four should return and when text to search is search2 then the matched content from paragraphs two and three should return.
But currently if text to search is search 1 then the matched content from all four paragraphs is getting returned.

string[] paragraphs = {
     "Some text added for testing (\"Accounting\").",
     "Some text added for testing (\"Accounting & Policies\")",
     "Some text added for testing Accounting & Policies is used here.",
     "Some text added for testing Accounting is used here."
 };

 string search1 = "Accounting";
 string search2 = "Accounting & Policies";

Thanks

@jainh3 For the search 1 you can use regex:

doc.Range.Replace(new Regex("Accounting(?!.\\&)"), "", options);