views:

32

answers:

0

Do you know any solution for building string filters based on human input in PHP? E.g. foo and bar -zoo (like in search enginies) is converted to regex similar to this: .*(foo|bar).*^(zoo).*.

I have found this class, but this is not exactly what I am looking for.