Anki Forums

Allow for "<,>" in search

It would be a awesome to be able to search for something like ranges using less than and greater than.

I’m using a lot of index-numbering in my cards where this would be quite useful.

So a search like deck:MyDeck Index:<100 should show all cards with an Index smaller than 100.

It’s not perfect, but you can already achieve this with regex:

Index:re:^\d{1,2}$

(Matches notes where “Index” contains one or two digits.)

3 Likes

Ah that’s how you do regexps in Anki! Thanks! It might be a bit of a
hassle but it can do everything I want.