Last Epoch

Last Epoch

Has anyone made regex work?
Trying to figure out how I can match a two-word text with no success (eg. Necrotic Damage).
I tried all patterns I could find on the net and nothing seems to work.

Anyone can help?

Thanks
Originally posted by Echo:
Hmm, tried it out and it's pretty straightforward if you know regex, but unfortunately very limited by the search box character length.

For example, you can enter
/(necrotic )+(spell )?damage/
and it will match both instances of "necrotic damage" and "necrotic spell damage".
Keep in mind that includes descriptions! So things like "damned on hit" will be included due to mentioning necrotic damage in their description.

Similarly,
/(melee )+(void )?damage/
is going to match both generic "melee damage" and "melee void damage".
< >
Showing 1-2 of 2 comments
The author of this thread has indicated that this post answers the original topic.
Echo May 12 @ 4:47am 
Hmm, tried it out and it's pretty straightforward if you know regex, but unfortunately very limited by the search box character length.

For example, you can enter
/(necrotic )+(spell )?damage/
and it will match both instances of "necrotic damage" and "necrotic spell damage".
Keep in mind that includes descriptions! So things like "damned on hit" will be included due to mentioning necrotic damage in their description.

Similarly,
/(melee )+(void )?damage/
is going to match both generic "melee damage" and "melee void damage".
Last edited by Echo; May 12 @ 5:16am
hypersot May 13 @ 6:03am 
Beautiful! Thank you.

For some reason, none of the results in google showed the way you proposed. I already had figured that it would need a (word)(word) something so I searched for that pattern specifically as well as "filter a sentence with regex" but there were no results that worked.

That was hugely helpful. Thanks again!
< >
Showing 1-2 of 2 comments
Per page: 1530 50