Build, test, and debug regular expressions
Finds the 4th occurrence of a 5-digit number in a text by lazily skipping the first three (via the repeated group {3}) and capturing the next one in group 1. The dotall (s) flag allows matching across newlines. Commonly used to extract a specific Nth 5-digit sequence like ZIP codes, IDs, or invoice numbers; change {3} to N-1 for other positions.