Add SubstituteTextPattern and switch to it