Pick value from row after a column value

view story

http://www.unix.com – Hi, my input Code: abc def "."; ghi abc kgk mhi def "="; klm nop abc kgg def "j"; klm mno pwd rst I would like to get the content in the inverted commas after def. So, my output would be Code: . = j How do I do it? Please make a note that my input field separator is space and not tab. Thanks (HowTos)