[Solved] Filter with expression

javemar
javemar New Altair Community Member
edited November 5 in Community Q&A
Helloo

I'm trying to make a filter with this expression

valor=.*o$ || valor=.*h || valor=x && valor !=.*l.*

If a put only the equal expresion at the end('valor =.*l.* i' instead of 'valor !=.*l.*') I get a aswer. But if I used the not equal i get a error:

What I'm doing wrong?

Tagged:

Answers

  • MariusHelf
    MariusHelf New Altair Community Member
    Hi,

    Filter Examples does not support mixing of AND and OR conditions. We are planning a major rework or replacement of this operator, until then, you could achieve the AND operator by simply removing it from the condition, and use a second Filter Examples operator with the last part of your condition.


    Best, Marius
  • javemar
    javemar New Altair Community Member


    I really appreciate all your support. I did what you said and this worked for me.

    Thank Marius.