Original sentence: The railway was extended to Wells in 1870, converted to standard gauge in the mid-1870s and then linked up to the East Somerset Railway to provide through services from Yatton to Witham in 1878
Edited sentence: The railway was extended to Wells in 1870, converted to standard gauge in the mid-1870s and then linked up to the East Somerset Railway to provide through services from  to Witham in 1878