I want the regex to match if "aFrom" in any way connected to another string or encapsulated by it.
So $@"(?<=\S){aFrom}|{aFrom}(?=\S)" should work for you: it checks if aFrom is preceded and/or followed by a non space character
$@"(?<=\S){aFrom}|{aFrom}(?=\S)"