I have a poorly maintained site that has got a lot of spam buildup. I had some luck with Custom Filters to weed out batches of spam content (forums and comments, primarily) but it seems to be running out of juice. For instance, if I search for "tramadol" in the drupal search box, I get four pages of results that use the word in both title and content. If I create a custom filter it catches nothing:

Here's what I've tried:

/tramadol/i	regex	everything
Tramadol	text	everything
tramadol	text	everything

In each case, hitting "scan" turns up no results. This behavior isn't limited to one word.

Comments

amanda’s picture

Note: I was seeing this behavior in 4.7 as well, and upgraded to 5.2 in the hopes that it would solve itself.

jeremy’s picture

That seems odd.

Do you see any errors in the watchdog, or in the apache error_log?

Perhaps the word is spelled with strange characters? ie, @ instead of a, or with hidden control characters? Try cutting and pasting the text from one of the known instances.

jeremy’s picture

Status: Active » Fixed

No further feedback, closing.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.