Test, validate and match regular expressions
Matches either runs of five-digit groups (intended for US ZIP codes) or runs of word characters (letters, digits, underscores) for extracting location names. Commonly used to pull ZIP codes and place names out of address-like strings. The global flag finds all matches throughout the text, though note the digit branch will also match longer multiples of five digits (e.g., 10 or 15 digits).