u cannot do that with /filter.
use a loop and in the loop u can use $gettok or whatever u want.