Regex by example: network configs, logs to CSV, lookbehind and duplicate lines
Four regex exercises with solutions run on JDK 21: parsing a switch config with named and optional groups, turning application logs into CSV with VS Code, Java, sed and awk, extracting only passport numbers with lookbehind, and handling duplicate lines with backreferences before switching to the right tool.