Menu

How to count the number of matches from a file (like @pmFromFile but with counting)

Rules
Sam Hobbs
2015-09-24
2015-09-27
  • Sam Hobbs

    Sam Hobbs - 2015-09-24

    Hi everyone,

    Is there a way I can do something similar to @pmFromFile, but return the number of matches from the file instead of just whether there was a match?

    I'm trying to block spam comments and it would be really handy to be able to do it this way, instead of writing individual rules for each "bad" keyword.

    Thanks in advance,

    Sam

     

Log in to post a comment.