I have 1,200 sentences, all labeled with a code. I would love to have a plugin that allows user to search by code and the associated sentence would show up.
Example:
TEST203 – Hello Everyone
TEST204 – Today is a wonderful day
TEST205 – Apples are a fruit
If someone typed in: 205 or test205, the sentence "apples are fruit" would show up.
I have a similar plugin where I can generate a random sentence from that list, but I would like an option where users can search all 1,200
I hope that all makes sense, I tried googling it for a while and I can't seem to get the wording to support my needs.
Another way of looking at it would be how the Bible is labeled by verses and you can search a verse and the words associated will show up. I want the same, but not with bible verses.

I’d use ACF, set up a custom post type for “sentence”, with a custom field for the code. Then use a plugin like [https://wordpress.org/plugins/acf-better-search/](https://wordpress.org/plugins/acf-better-search/) so the custom field can be searched.