How to filter the scrapped data?

Can you please tell using for each and if condition activity??