Mass replace of several common lines