Search by ‘word count’ in the Anki browser.
Usage:
wordcount(FieldName) operator length
Examples:
wordcount(FieldName) > 14
wordcount(FieldName) = 3
Limitation: Only works with 2.1.24+ because it uses regular expressions to perform the search. It might also not work correctly with fields that contain HTML. Inspired by:
Inspired by the plugin “Browser Search By Field Length”:
https://ankiweb.net/shared/info/1488259640
GitHub:
https://github.com/Rct567/anki_search_by_word_count
Reviews (1)
👍 2024-01-23
Chapeau ! I don’t quite get why something like this wouldn’t already have been around a while longer ! Not everyone is a RegEx-Wizzard … ;)