Fix replace column helper: fix regexp when deleting column