Path of Exile 2

Path of Exile 2

Stash search filter, is it working with regex?
Regex seems to be broken from my testing.
what I use ---> !^requires: level (6|7|8)$

The above brings up any item with a property (dex, int, item level) value of 6 7 or 8 not just the "required level"
what should work is "^requires: level (6|7|8)$" without the !

it actually seems to be searching for any property with the numbers

Search for a single item with plain works but I'm sure many others not just myself would like to highlight items based on a clearly defined criteria.

what would really help Is if there was a list of searchable properties such as "ilvl" for item levels.

if anyone has a working search filter with regex please share!
< >
Showing 1-5 of 5 comments
Elwin Jan 15 @ 6:22am 
I experimented a bit with the search and this is what I've found out so far.

(`` backticks denote what should be typed into the search but they themselves should not be typed)

By item level: `ilvl:N` (no space between colon and the rest)
(for example: `ilvl:10` matches items with ilevel exactly 10, regular expression is needed to match a range, e.g. to match items with ilvl between 10 and 29 inclusive:)
ilvl:[1-2][0-9]

By attributes: `str: N` `dex: N` or `int: N`
However, these don't seem to be properties like "ilvl", thus the space between the attribute's colon and anything that follows also needs to be matched with a regex. Whitespace is matched with a `\s` or quote the whole search.
(e.g. `dex:\s30` or `"dex: 30"` highlights items that have dex requirement exactly 30)
Regular expressions can be used to search for a range.
(e.g. to match a range of items with dex requirement e.g. between 10 and 29 inclusive:)
dex:\s[1-2][0-9]

By required character level: `level: N` (need to use regex whitespace \s)
(for example, to match items below some level, you need to craft a regular expression. This matches items that a level 29 character can use:)
level:\s([1-9]|[1-2][0-9])
Note that his will not match items that have no level requirement. I haven't found a way to match those.

Similarly, it seems it is possible to match by:
- `armour: N`
- `evasion rating: N`
- `energy shield: N`
- `quality: +N` (space and plus sign need to be matched with `\s` and `\+`, possibly also `\%` to match the percent sign after N)

By any stats or texts in item's tooltip, e.g. `maximum mana` highlights items that have +N to maximum mana.
To find items that give 28-99 mana, a regex can be used to match the text:
^\+(2[8,9]|[3-9][0-9]) to maximum mana
(the ^ caret matches start of line, then \+ matches the plus character, then the number in given range is matched and then the rest of the text. You can use $ to match end of the line to filter out similar texts)
Last edited by Elwin; Jan 15 @ 6:26am
Nefser Jan 15 @ 6:50am 
I can appreciate that someone likes the idea of a technical challenge to create a loot filter, but there are so many, done well (and very extensively), I don't think it's really worth the time/effort to do your own.

Click web page, click download, copy file, select file under options in game.

Now, just go enjoy the game. ;-)
Originally posted by Nefser:
I can appreciate that someone likes the idea of a technical challenge to create a loot filter, but there are so many, done well (and very extensively), I don't think it's really worth the time/effort to do your own.

Click web page, click download, copy file, select file under options in game.

Now, just go enjoy the game. ;-)

I think you are posting out of place here, this thread is for people who are interested in regex and search functions.

Please go enjoy the game yourself instead of injecting your useless comments in places they aren't wanted
Did any of you guys found a correct Regex for price searching?
All i could find is: "\b[1-5] exal" - but it works only under 9 digits price, cant get it to work for searches like "10-20", "20-40" and so on.
Originally posted by Evil Pumpkin:
Did any of you guys found a correct Regex for price searching?
All i could find is: "\b[1-5] exal" - but it works only under 9 digits price, cant get it to work for searches like "10-20", "20-40" and so on.

it feel a bit inconvenience but you can try "\b (\d|[1-9]\d|) ex" mixed between \d and [] range
Last edited by postgresql5432; Feb 8 @ 5:10pm
< >
Showing 1-5 of 5 comments
Per page: 1530 50

Date Posted: Jan 13 @ 11:34pm
Posts: 5