Replace regex matching with update report task output