Perform contains_any filtering with wildcards.


The wildcard operator takes a comma-separated list of string arguments.


Not case sensitive. Add the cs keyword or the case switch to create a case-sensitive filter with wildcard.


wildcard "string-1, string-2, .... string-n"




  1. Filter for Tumblr posts that mention color followed by any sequence of zero or more characters. It will match color, colors, coloring, and so on:

    tumblr.text wildcard "color*"

  2. Filter for Tumblr posts that mention color or colour:

    tumblr.text wildcard "colo*r"

  3. Filter for Tumblr posts that match any character followed by "og" or "ig". It will match dog, fog, hog, log, dig, fig, pig, rig, and so on:

    tumblr.text wildcard "?og, ?ig"


There are two special characters that you can use in wildcard searches: ? and *.

? Match exactly one character in a string. You can include it as many times as you want; for example: famous?? will match famous12 and famously.
* Match any string of 0 or more characters; for example: famous\* will match famous, famous1, and it will match famous123456789ly.

Note that you can use * only once in each word, so this will work:

 interaction.content wild "N*w Mex*co"

but this will not work:

 interaction.content wild "N** Mexico"

Further technical detail is available on tokenization and chunking.