r/regex
Help find the Regex Generator Website
Hello!
A year or two ago I used a regex generator website where I pasted the match I wanted and it iterated over and let me select 1 character, or a group of characters and tell it if I'm looking for an exact match or alpha numeric or whatnot, then it added onto a field where the generated regex was being built for me. It underlined groups in different colours.
It was a dark mode website. Not sure it's dark by default of it used my system default. It also had a language selector before you started building. Really nice UI. I don't remember much more than that.
Would really appreciate if someone could help me remember 🙏
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
I build Regex Tester
Hi everyone,
Im building a small regex tool: RegexTester
I need reviews and feedback if its useful or not and what features should I consider
Some trouble I've been going crazy trying to figure out
I'm trying to match (j|w)?[aeo]$ but only on the lines that start with [-].
I've tried making it a conditional, but I'm new and I don't really understand why it doesn't work...
ideally, it should leave the lines that don't start with [-] alone