I have a text in a single file
Quiz
Worker(Thomas) works in ..........
Worker(Alfred) works in ..........
Worker(Albert) works in ..........
Answer
Worker(Thomas) works for company(google)
Worker(Alfred) works for company(apple)
Worker(Albert) works for company(Microsoft)
I wish to replace the empty dotted lines in "Quiz" from information given in "Answer" by using sed based text search, matching and replacement.