Can you Limit how many lines the play command does ?

say you use : filter -ffce < to find something in a txt file
and it finds 30 lines that match ..

and use the play command to play what you find ..

but want to limit it to play 5 lines ..

Help ?