I need remove some item from list
"my_list_one": [
"item1",
"item2",
"item3"
] }
I need remove item which includes string "2". As result, I need list as
"my_list_one": [
"item1",
"item3"
] }
How could I realize it?
A nicer variation of @techraf's answer:
{{ my_list_one | reject('search','2') | list }}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With