AnsweredAssumed Answered

Regular expression to extract only comments from "Approval Comments" is not working

Question asked by parsamsandeep on Aug 19, 2015
Latest reply on Nov 5, 2015 by powersj1

Hi ,

After Approval action Regular expression is added to extarct the comments text form the whole comments log. every thing is running fine when i execute the script in the Run Now window .

but after publishing the worklfow , i still see the original comments resulted from regular expression  ... not sure what's wrong... any help pls....


Input text :

Kumar, Sandeep (Rejected) 8/19/2015 5:10 PM - 8/19/2015 5:10 PM

(Kumar, Sandeep) Document rejected for publishing

Regular expression : ([\w\s,]+) \([\w\s]+\) (?:[\d:.\/\s\w\-]+) \([\w\s,]+\) (?<Comment>.*)

Replacement Text: Comment : "${Comment}"

Expected Out Put text: Comments: Document rejected