DIM searching with two or more terms

Is it possible to search in DIM for something with two or more terms such as Morphs, male, and 3  but those terms can be in any order in the name?

Comments

  • dawnbladedawnblade Posts: 1,723

    There is an advanced filtering guide here. It took me a while, but the regular expression below should work. Copy everything inside the quotes, but not the quotes themselves. Then paste it into the filter textbox. This regular expression is case-sensitive, so if you change "Male" to "male" it won't work. There is a way to make it not be case-sensitive but I'm not having any luck. For your purposes though it should work.

    "rx::^(?=.*\bMorphs\b)(?=.*\bMale\b)(?=.*\b3\b).*$"

  • morphs && male

  • dawnbladedawnblade Posts: 1,723

    morphs && male

    Nice!

  • dawnblade said:

    There is an advanced filtering guide here. It took me a while, but the regular expression below should work. Copy everything inside the quotes, but not the quotes themselves. Then paste it into the filter textbox. This regular expression is case-sensitive, so if you change "Male" to "male" it won't work. There is a way to make it not be case-sensitive but I'm not having any luck. For your purposes though it should work.

    "rx::^(?=.*\bMorphs\b)(?=.*\bMale\b)(?=.*\b3\b).*$"

    I have been given this as a case-insensitve version

    rx::ci::^(?=.*\bmorphs\b)(?=.*\bmale\b)(?=.*\b3\b).*$
  • dawnbladedawnblade Posts: 1,723
    dawnblade said:

    There is an advanced filtering guide here. It took me a while, but the regular expression below should work. Copy everything inside the quotes, but not the quotes themselves. Then paste it into the filter textbox. This regular expression is case-sensitive, so if you change "Male" to "male" it won't work. There is a way to make it not be case-sensitive but I'm not having any luck. For your purposes though it should work.

    "rx::^(?=.*\bMorphs\b)(?=.*\bMale\b)(?=.*\b3\b).*$"

    I have been given this as a case-insensitve version

    rx::ci::^(?=.*\bmorphs\b)(?=.*\bmale\b)(?=.*\b3\b).*$

    Thanks Richard. That is good to know for future reference. Cris' solution for the OP is much easier than mine, and avoids regular expressions entirely.

     

  • Sfariah DSfariah D Posts: 26,551

    so "Genesis && Morphs" will get all the morphs for Genesis?  or would "morph && genesis" work better?

  • Richard HaseltineRichard Haseltine Posts: 102,770

    so "Genesis && Morphs" will get all the morphs for Genesis?  or would "morph && genesis" work better?

    They are the same, other than capitalisation. The order doesn't matter (and you can string more than two terms together if desired).

Sign In or Register to comment.