Test, validate and match regular expressions
This regular expression matches a literal period or dot character in a string. The global (`g`) flag ensures that it finds all occurrences throughout the text, while the multiline (`m`) flag allows anchors to match at the start and end of lines, though it does not change the dot's behavior. It is commonly used for parsing file extensions, IP addresses, or extracting sentences.