Implement Regex in Workflow Class.