modified -s to accept a list of special chars