US Address Line 2 generator

Last modified: April 3, 2025

The US Address Line 2 generator creates supplementary address information for US addresses, such as apartment numbers, suites, building identifiers, or other secondary details. It complements the primary address line and is used for creating realistic address data in applications requiring detailed US address formats.

Generator properties

The table provides key details about the generator, including the short name, sample of the generated data, the supported data types, and whether it is specific to a particular country.

Short name Example of generated data Data type matching Country-specific
US Address Line 2 Standard Building, Suite 14, 2nd Floor, APT 783, … charactercharacter varyingtext Default

Matching rules

The generator can be assigned to a column that matches any of the following rules:

  • The column name contains ‘Address’, preceded or followed by any or no characters, regardless of the table name.
  • The column name contains ‘Address’, preceded or followed by any or no characters, and ends with ‘2’, regardless of the table name.
  • The column name is ‘addr##2’, regardless of the table name.
  • The column name starts with ‘cust’, ‘ship’, or ‘invoice’ and ends with ‘addr##2’, with any or no characters in between, regardless of the table name.

Configure additional options

The generator produces data based on a regular expression. Since it is built on the RegExp generator, see Regular Expression generator to customize settings and understand the correct usage of syntax.

Preview of the column data generated by the US Address Line 2 generator

US Address Line 2 generator