Help creating a string for use in a video game?
Apologies if this isn't the correct forum for a post like this.
I play a video game (Path of Exile II) which allows players to search various "containers" (like our storage) with basic terms or with regex strings (items that match the search criteria are highlighted in the container). I've developed an extremely limited understanding of some basic regex to solve problems as I go, but I'm currently stumped and looking for some guidance.
I would like to highlight items that contain at least 2 of 4 different terms. The 4 terms are:
tac
fra
har
nco
I thought I could pair these terms using quotes, and separate pairs with | but that isn't working. I'm not sure if this is because I'm not using regex properly or it's a limitation of the game's regex functionality. My attempt looked like this:
"tac""fra"|"tac""har"|"tac""nco"|"fra""har"|"fra""nco"|"har""nco"
----------
Here are 3 examples of items that I would like the regex to highlight:
Item 1
increased Stack size of Simulacrum Splinters
increased Fracturing Mirrors
Item 2
increased MirrorShards
increased Delirium Encounters
Item 3
increased Fracturing Mirrors
increased MirrorShards
----------
Here are 3 examples of items that I would like the regex to NOT highlight:
Item 1
increased Fracturing Mirrors
increased Pack Size
Item 2
increased MirrorShards
increased rarity of monsters
Item 3
increased Pack Size
increased rarity of monsters