Auto filter the input content