Test, validate and match regular expressions
This regular expression matches Bitcoin wallet addresses, specifically those in the Base58Check format. It identifies addresses that begin with either '1' (for legacy P2PKH addresses) or '3' (for P2SH addresses), followed by 25 to 34 characters drawn from an alphabet that excludes visually ambiguous characters like 0, O, I, and l. The pattern is commonly used for extracting or validating Bitcoin addresses from text, logs, or user input, and the global/multiline flags ensure all occurrences are found across multiple lines.