Can I search and delete lists by text? Index number is unknown

It works like a picture.
Is this the right way?