Need help creating JSON file to flag and replace profanity across all survey text fields | XM Community
Skip to main content
Solved

Need help creating JSON file to flag and replace profanity across all survey text fields

  • August 13, 2021
  • 2 replies
  • 100 views

Hi there,
We have a number of survey text responses that feed into a slack channel that other parts of the business view. We would like to include a list of profanities that would be flagged and have those keywords replaced with asterisk.
My experience with coding and javascript is extremely low. Any help would be appreciated.

Best answer by ahmedA

https://github.com/jojoee/leo-profanity/blob/master/dictionary/default.json

2 replies

Forum|alt.badge.img+22
  • Level 7 ●●●●●●●
  • Answer
  • August 13, 2021

https://github.com/jojoee/leo-profanity/blob/master/dictionary/default.json


  • Author
  • September 24, 2021

Thank you, this helped!