use regex for workflownode replace.