Test, validate and match regular expressions
This regular expression matches one or more spaces followed by either the full word 'incorporation' or the abbreviation 'inc' (optionally trailed by periods), ensuring it is not part of a larger word. It is typically used to identify incorporated business entities within text. The 'gmi' flags enable global, case-insensitive matching across multiple lines.