Build, test, and debug regular expressions
Matches each line in a multiline string and captures its content while stripping leading and trailing whitespace. The lazy .*? inside the capture group ensures only the trimmed text between the whitespace boundaries is captured. Commonly used for cleaning up user input, processing line-by-line data, or removing indentation and trailing spaces from text files.