Article 521A6 Print only text between two special characters which contain specific word

Print only text between two special characters which contain specific word

by
eng_mohammedmostafa
from LinuxQuestions.org on (#521A6)
In this file, there are many { and }

But I need to print only text between { and } which contain only HOST

Keep into consideration that context is unknown value as it might be (prod,dev or test ... etc)

Quote:
[[{"Key":"PORT",context:"5436"},{"Key":"HOST",context:"prod"},{"Key":"ADD",context:"location"}]]
Here, I need to print only:
Quote:
{"Key":"HOST",context:"prod"}
latest?d=yIl2AUoC8zA latest?i=I2atGsEiFDY:zM4TLYBbXrg:F7zBnMy latest?i=I2atGsEiFDY:zM4TLYBbXrg:V_sGLiP latest?d=qj6IDK7rITs latest?i=I2atGsEiFDY:zM4TLYBbXrg:gIN9vFwI2atGsEiFDY
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments