Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hello,
is it somehow possible to use a "Begins with" filter option in the "Keyword filter" plugin?
Example
Filter only words that begin with "Nu".
Comments
Comment #1
Charles BelovOne use case, for a Twitter feed:
Filter out tweets starting with @ but permit tweets with @ in the body that don't begin with @.
Currently @ would filter in/out both of the following tweets when I want them treated differently:
@joe That's a good idea, thanks.
There's a delay on Church @ 17th.
In the meantime, a workaround is to precede the item with a regex filter that inserts an arbitrary string if the field starts with a particular string.
E.g.
REGEX to change /^@/ to /abcde @/
followed by excluding based on keyword abcde
(Assuming you're not going to ever use abcde in a field intentionally and want to show it.)
But that's a kludge and it would be better to be able to filter by beginning (and for the ability to use symbols, not just words)