Classification Rule Builder Capability

Avatar

Avatar

mandyw65

Avatar

mandyw65

mandyw65

23-08-2017

Hi,

I am currently trying to identify two things in a single rule in the rule builder. Is it possible to have a condition, such as contains "a" AND "b=1", or contains 'a' OR 'b' in a single rule? Right now I am only aware we can do contains "..." but not more so the rule cannot be too specific. If I want to classify that it contains a string under a certain condition, is it possible to do that? It's like translating a segment into a rule...is that possible?

Thank you!

Replies

Avatar

Avatar

ursboller

MVP

Avatar

ursboller

MVP

ursboller
MVP

23-08-2017

you can use regex: Regular Expressions in Classification Rules

if you provide more information about the original text steing and what you search for, we can help building the regex pattern.

Avatar

Avatar

mandyw65

Avatar

mandyw65

mandyw65

24-08-2017

Hi,

Thanks for your reply. I do not see an a AND b option...is such a thing possible?

Thanks!

Avatar

Avatar

mandyw65

Avatar

mandyw65

mandyw65

24-08-2017

I want to specify a rule that says contains "a" AND at the same time contains "b" to make the rule true...

Avatar

Avatar

ursboller

MVP

Avatar

ursboller

MVP

ursboller
MVP

24-08-2017

can you send an example of the original string and the text "a" and "b" you are looking at?

it is something like "a.*b" but heavely depends what the strings are!