add regex replace and stage task