Hellothe literal text Hello (case sensitive) \sany whitespace character
Worldthe literal text World (case sensitive) \.the literal . (4610 / 568 / 2E16)
\sany whitespace character
Hithe literal text Hi (case sensitive) \sany whitespace character
\2the text saved by group 2
\.the literal . (4610 / 568 / 2E16)
g modifier: global. Finds all matches instead of stopping after the first
m modifier: multiline. Causes ^ and $ to match the start and end of each line, not only the start and end of the string