in reply to How do you perform this substitution?

Please also notice how toolic created the dash line, using the x operator. It is much handier than what you had.