one more query - if I want to manually remove a few lines containing some text - how do I do it?

I tried: /dline @check *flag*

but nothing happened do I need an alias with a $fline loop?