I am trying to find the values in an array if the values are there need to remove and print those values. I had tried the below code but it is not working. Please advise
color_filter => color bowl_filter1 => bowl
{{#and (filter (split this.display_name '_') 'filter') (filter (split this.display_name '_') 'filter1') }}
{{#each (split this.display_name '_') }}
{{#and (if this '!=' 'filter') (if this '!=' 'filter1')}}
{{this}}
{{else}}
:
{{/and}}
{{/each}}
{{else}}
{{ this.display_name }}:
{{/and}}
Thanks in advance