Question 14 Views Natasha Bhutani (NatashaB8157) Bank of america Bank of america IN View Profile Send Message NatashaB8157 Member since 2018 2 posts Bank of america Posted: February 5, 2021 Last activity: February 5, 2021 Posted: 5 Feb 2021 12:21 EST Last activity: 5 Feb 2021 12:32 EST How to apply the DIST operator in RUTA script? Report Hi, I have a business requirement to identify texts which has some words distanced apart from each other by specific number of words like: Rule: (DIST_4,(OR,violat*,comply,complian*,rights,inaccurate,incorrect,escalate,"report to","complain to"),(OR,"agent", "service agent", "front end employee","staff")) The above rule will capture all text which has the word violat* (violating, violation, etc) and agent distamnced apart from each other by 4 or less than 4 words. In Python, DIST is used, do we have something similar in Pega? Pega Platform 8.4 Case Management Financial Services Data Scientist Reply Like (0) Share Share this page Facebook Twitter LinkedIn Email Copy link Copying... Copied!