Test, validate and match regular expressions
This regex matches address lines containing secondary unit designators such as Suite, Bldg, Front, Floor, Unit, PO Box, or Room, optionally preceded by an ordinal (e.g., 1st, First, Second, Third, Fourth, Fifth). It captures the unit designator and everything after it, making it useful for extracting or validating address components, especially in US-style addresses where a street address is followed by an apartment or building identifier. The pattern is case-insensitive and works across multiple lines, suitable for parsing address fields in logs, forms, or text extraction pipelines.