Regex: Difference between revisions

From Path of Exile Wiki
Jump to navigation Jump to search
(Regular Expressions (regex) for Path of Exile search)
 
((whoever wrote this really liked semicolons.))
 
(4 intermediate revisions by 2 users not shown)
Line 1: Line 1:
Regex, shorthand for Regular Expressions, are patterns shorthands that can be used to help filter content in text. In Path of Exile, they're used to help filter and search for items; helping to narrow things down more easily.  
'''Regex''', or '''Regular Expressions''', are shorthands that can be used to help filter content in text. In Path of Exile, they're used to narrow down results when filtering and searching for items.


Below are some examples of regex you can copy paste into search input fields on game; There are tons more to explore.
Below are some examples of regex you can copy paste into search input fields in game.


== Stash ==
== Stash ==
=== 6 Link ===
=== 6 Link ===
<pre>"sockets: ([rgbw]-){5}[rgbw]"</pre>
<pre>"sockets: ([rgbw]-){5}[rgbw]"</pre>
Line 59: Line 58:
<pre>dex: str:</pre>
<pre>dex: str:</pre>


=== Dexteroty & Intelligence Items ===
=== Dexterity & Intelligence Items ===
<pre>dex: int:</pre>
<pre>dex: int:</pre>
---


== Show Maps ==
== Show Maps ==
Common, potentially scary map mods players may want to avoid, depending on their build.
Common, potentially scary map mods players may want to avoid, depending on their build.


Line 106: Line 102:
<pre>"m q.*([3-9]\d|\d{3})"</pre>
<pre>"m q.*([3-9]\d|\d{3})"</pre>


---
 


== Flasks ==
== Flasks ==
Line 121: Line 117:
Instant Recovery #% reduced Amount Recovered or Instant Recovery when on Low Life #% reduced Amount Recovered
Instant Recovery #% reduced Amount Recovered or Instant Recovery when on Low Life #% reduced Amount Recovered
<pre>"see|y w"</pre>
<pre>"see|y w"</pre>
---


== Expedition ==
== Expedition ==
Line 132: Line 125:
Gwennen Super Rare Unique Gambling - Belts Only. This covers Headhunter or Mageblood.
Gwennen Super Rare Unique Gambling - Belts Only. This covers Headhunter or Mageblood.
<pre>"r be|vy b"</pre>
<pre>"r be|vy b"</pre>
==External links==
* [https://poe.re/ Community-created Regex generator]

Latest revision as of 04:43, 10 February 2024

Regex, or Regular Expressions, are shorthands that can be used to help filter content in text. In Path of Exile, they're used to narrow down results when filtering and searching for items.

Below are some examples of regex you can copy paste into search input fields in game.

Stash

6 Link

"sockets: ([rgbw]-){5}[rgbw]"

6 Socket

"sockets: ([rgbw][ -]){5}[rgbw]"

Item Level 1-78

"item level: ([1-9]$|[1-6][0-9]$|7[0-8])"

Item Level 80+

"item level: ([1-9]\d{2,}|[8-9]\d)"

Quality

"quality: \+([1-9][0-9])"

70+ Life

"([1-9]\d{2,}|[7-9]\d).+life"

Chaos Recipe

"rare"|"item level: ([6][0-9]|[7][0-4])"

+1 Wand

"ll g"

Physical damage

Glint|Heav

Flat Elemental Damage

Heat|roste|Humm

Flat Spell Damage

"e to Sp"

Increased Spell Damage

Appre

Str/Dex

"!(^(str|dex))"

Intelligence Items

"!(^(str|dex))"

Dexterity Items

"!(^(str|int))"

Strength Items

"^str" "!(^dex)"

Strength & Dexterity Items

str: dex:

Strength & Intelligence Items

dex: str:

Dexterity & Intelligence Items

dex: int:

Show Maps

Common, potentially scary map mods players may want to avoid, depending on their build.

No Elemental Reflect

"!tal d"

No Physical Reflect

""!f ph""

No Cannot Regen

"!ege"

No Cannot Leech

"!eec"

Or some map mods players may desire:

Rare Monsters each have a Nemesis Mod X% more Rare Monsters

"neme"

Slaying Enemies close together has a X% chance to attract monsters from Beyond

"yi"

Area contains two Unique Bosses

"two"

Magic Monster Packs each have a Bloodline Mod X% more Magic Monsters

"packs"

Slaying Enemies close together has a X% chance to attract monsters from Beyond

"yi"

Maps with Favorable Juicing Affixes

"yi|neme|two|packs|rog|tot"

40%+ Monster Pack Size

"yi|neme|two|packs|rog|tot" "iz.*([4-9]\d|\d{3})"

30 Monster Quantity+

"m q.*([3-9]\d|\d{3})"


Flasks

Grants Immunity to Bleeding for # seconds if used while Bleeding Grants Immunity to Corrupted Blood for # seconds if used while affected by Corrupted Blood or Immunity to Bleeding and Corrupted Blood during Flask Effect #% less Duration

"g an|af"

Immunity to Poison during Flask Effect #% less Duration or Grants Immunity to Poison for # seconds if used while Poisoned

"n fo|on d"

Grants Immunity to Chill for # seconds if used while Chilled Grants Immunity to Freeze for # seconds if used while Frozen or Immunity to Freeze and Chill during Flask Effect #% less Duration

"ze a|l f"

Instant Recovery #% reduced Amount Recovered or Instant Recovery when on Low Life #% reduced Amount Recovered

"see|y w"

Expedition

Gwennen Super Rare Unique Gambling: Items that could possibly result in rare Uniques such as Mageblood or Ashes of the Stars.

"der m|nt ro|fien|r be|vy b|int'|n j|amp|pid"

Gwennen Super Rare Unique Gambling - Belts Only. This covers Headhunter or Mageblood.

"r be|vy b"

External links