Article 51W0T Grep last occurrence word till end of line

Grep last occurrence word till end of line

by
eng_mohammedmostafa
from LinuxQuestions.org on (#51W0T)
Hi All,

Please, I need to grep last occurrence word till end of line.

Here is the file content:
[[{"configKey":"Parm1",{"configKey":"Parm2",{"configKey":"Parm3"]]

How to return only this please?
{"configKey":"Parm3"]]

Regards,
Mohamedlatest?d=yIl2AUoC8zA latest?i=bOYih9mwLNw:GIb2VKVpfUQ:F7zBnMy latest?i=bOYih9mwLNw:GIb2VKVpfUQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=bOYih9mwLNw:GIb2VKVpfUQ:gIN9vFwbOYih9mwLNw
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