how can i get a regular expression to match whole words like grand and not match mygrandma.
for example, i wish to replace "grand" with "total",
so "the grand sum is 100" should become "the total sum is 100".
however "my grandma likes apples" should not become "my totalma likes apples".