Question Natasha Bhutani (NatashaB8157) Bank of america Bank of america IN View Profile NatashaB8157 Member since 2018 2 posts Bank of america Posted: Feb 5, 2021 Last activity: Feb 5, 2021 Posted: 5 Feb 2021 12:21 EST Last activity: 5 Feb 2021 12:32 EST Closed 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 Like (0) Share Share this page Facebook Twitter LinkedIn Email Copy link Copying... Copied!