Filter ONLY asking for listings to be approved if certain keywords are used
Nicholas
Newbie11 points
August 11, 2016 at 4:45 pm
Hi Josh (or anyone that can help me with this)… the above code works, but only if there is ONE bad word, and not if that word appears within a sentence… For example, it WON’T work if the keywords are…
“f*** hello goodbye, how are you?”
but it WILL work if it is ONLY ONE WORD…
“f***”
Is there a way to edit the code where it will create the alert whenever the “bad word” is found ANYWHERE in the keyword field, rather then only when it appears ALONE?
Nicholas
Hi Josh (or anyone that can help me with this)… the above code works, but only if there is ONE bad word, and not if that word appears within a sentence… For example, it WON’T work if the keywords are…
“f*** hello goodbye, how are you?”
but it WILL work if it is ONLY ONE WORD…
“f***”
Is there a way to edit the code where it will create the alert whenever the “bad word” is found ANYWHERE in the keyword field, rather then only when it appears ALONE?