filter main list using pipe char