Test, validate and match regular expressions
Matches empty lines or lines that contain only whitespace characters (such as spaces, tabs, or line breaks). Using the global and multiline flags, it is typically used to find, replace, or remove all blank lines within a multi-line string or text file.