Filtrex
A simple, safe, JavaScript Filter Expression compiler for end-users
...It lets users write spreadsheet-like filter expressions without giving them access to raw JavaScript execution. Instead of using eval, Filtrex compiles expressions into JavaScript functions while keeping data access and callable functions under developer control. It supports common use cases such as filtering items, searching across fields, colorizing records, plotting charts, and building browser-based spreadsheet behavior. The expression language supports numbers, strings, external variables, arithmetic, comparisons, regular expression matching, and logical operations. ...