Command for compare/find the extracted text with in the csv list

I extract the texts in which the following image

Then I want to compare or find them in the csv list. Here is the csv list

So what command should I use?

Just to clarify: You already finished the extraction part and are now asking on how check if the extracted value (e. g. “AAA”) is inside your CSV file?

Yes, that’s right.

Thanks for your reply

Can anyone help me please ?