Path of Exile 2

Path of Exile 2

58 ratings
Mastering Regex for Map Searches
By Zanza
If you’ve ever wanted to filter your stash for specific map modifiers (like increased rarity, pack size, or monster count) in Path of Exile 2, learning a bit of regex (regular expressions) can help.
6
5
   
Award
Favorite
Favorited
Unfavorite
Info (Please like, fav, and share if helpful!)
PoE2 Guide: Mastering Regex for Map Searches




Introduction
If you’ve ever wanted to filter your stash for specific map modifiers (like increased rarity, pack size, or monster count) in Path of Exile 2, learning a bit of regex (regular expressions) can help. Below are some ready‐to‐use examples for stash searches. They highlight TONS of popular map traits, helping you quickly spot the juicy ones.




Basic Regex Highlights
General Filter
This first snippet highlights any map with at least one “good” modifier:
"([3-9].|1..)%.*rar..(?!ch)|quan|([3-9].)%.*ed.pa"
Explanation:
  • ([3-9].|1..)%.*rar..(?!ch) – Looks for 30–99% increased rarity (excluding “chance” references).
  • quan – Matches “quantity” references.
  • ([3-9].)%.*ed.pa – Looks for 30–99% pack size references (“ed pack”).

Waystone Drop Chance
Highlights any waystone with over 500% drop chance:
"ance.*([5-9]..)%"




Primo (Multiple Mod) Maps
Here are examples to highlight multiple good modifiers simultaneously.

  • Rare monsters & High Quant:
    "([3-9].)%.*are.m" "(1[5-9]|2.)%.*quan"

  • Rarity of Items & Rare Monsters:
    "([6-9].|1..)%.*rar..(?!ch)" "([4-9].)%.*are.m"

  • Increased Rarity + Rare Monsters & Additional Rare Mod:
    "nc.*rar..(?!ch)" "e.1"

  • Increased Rarity + Rare Monsters & Pack Size:
    "nc.*rar..(?!ch)" "sed.pa"

  • High Pack Size Only:
    "([4-9].)%.*ed.pa"

  • Pack Size + Monster Packs:
    "sed.pa" "mon.*packs"

  • Increased Rarity & Rare Monsters + Monster Packs:
    "nc.*rar..(?!ch)" "mon.*packs"

  • High Rarity & Quant:
    "([6-9].|1..)%.*ity..(?!ch)" "(1[5-9]|2.)%.*qu"




Reddit Highlights: Why Learn Regex?
Community members have noted:
“Give an exile regex and he maps juicy for a day; teach an exile regex, and he’ll juice them forever!”
  • Regex is just a powerful text‐pattern matching tool.
  • It’s not PoE‐specific, so it works in many stash search tools, Awakened Trade, etc.
  • Characters like ., *, +, and ? have special meanings:
    1. Dot (.) = any single character
    2. Asterisk (*) = repeat any number of times
    3. Plus (+) = repeat one or more times
    4. Bracket [ ] = specify a range of allowed chars (e.g. [0-9])
    5. Parentheses ( ) = group expressions or define capturing groups
    6. Question mark (?) = zero or one instance of the preceding element
    7. Pipe (|) = logic OR for alternate patterns
  • Plenty of Regex tutorials[coderpad.io] exist to get you started.




Tips & Final Thoughts
Regex can drastically speed up how you filter for those prized maps or items with specific stats. Use it alongside your preferred trade/stash tool:
  • Awakened Trade, or
  • the game’s built‐in stash search.
Practice a bit, and you’ll find searching for “juicy maps” becomes second nature. If you have suggestions or want more examples, let me know in the comments—happy mapping!




Credits & References