Regular expression matching for name and date label update