Help with filtering dataset - string matching

This question is very different from the one in your topic title, please don't go off-topic in your own thread, ask this question on a new topic providing a REPRoducible EXample (reprex).