Changing text to name match in place of string