You can use the API to write a consumer application that would do this or if you are using Chrome browser, you can write a chrome plugin that give you this feature on the queue page in management console.
Ootb, rabbitmq does not have such functionality. You should also keep in mind few things-
1. More the ready messages, more time it would take to search. Message size will play a role as you would be fetching all the messages and performing the lookup.
2. Make sure to read and nack the messages so that they stay in the queue and be available for genuine consumers.
Thanks