Made replacements work in the middle of the text as well
Made #unassigned work