Test, validate and match regular expressions
This regular expression matches exactly two consecutive characters of any kind (except for newline characters). Used with the global flag, it will scan through an entire string and match every non-overlapping pair of characters on each line. It is commonly used for simple string chunking, iterating through text in pairs, or performing basic text manipulation.