I'm not looking to match everything between two characters, like in this question. I'm looking to match a specific phrase. For example:
cat {mouse ostrich dog ostrich} fish {ostrich} ostrich
I want to match the three 'ostrich' strings in the curly brackets, but not anything else. Is that possible?