Complex sentence: During pre-production, George Segal and Shirley MacLaine were originally attached to play the roles of ÁÅãėíucers offered Dudley Moore the role of George and Julie Andrews was given the role of Samantha.
Split into simpler sentences: During pre-production, George Segal and Shirley MacLaine were originally attached to play the roles of George and Samantha respectively. However, after Segal declined, the producers offered Dudley Moore the role of George and Julie Andrews was given the role of Samantha.