Test, validate and match regular expressions
This regex captures all characters on each line of a string. With the global and multiline flags enabled, it matches every line individually, capturing the entire content of each line (excluding newline characters). Useful for processing or extracting complete lines from multiline text.