Using regular expressions in C#, is there any way to find and remove duplicate words or symbols in a string containing a variety of words and symbols?
Ex.
Initial string of words:
"I like the environment. The environment is good."
Desired string:
"I like the environment. is good"
Duplicates removed: "the", "environment", "."