Add replace parser with antlr generated parser