Phone Number Macro

Applies to LoadComplete 4.97, last modified on May 20, 2019

Description

The Phone Number macro is used to insert phone numbers into strings generated with the Custom String generator.

The macro is an analog of the Phone Number data generator.

Syntax

The macro is specified using the following regular expression:

[0-9]{3}-[0-9]{3}-[0-9]{4}

You can change this regular expression if necessary. For more information on the syntax of regular expressions, see Supported Regular Expressions.

Parameters

The macro has no parameters.

Examples

The following example demonstrates how to use the Phone Number macro:

  • [0-9]{3}-[0-9]{3}-[0-9]{4}

    This regular expression specifies phone numbers.

  • 55[0-9]{1}-[0-9]{3}-[0-9]{4}

    This regular expression specifies phone numbers that start with 55.

Remarks

See Also

Macro Reference
Custom String Generator Rules
Custom String Generator
Custom-String Generator - Supported Regular Expressions
Phone Number Generator
Using Data Generators
Generating Values

Highlight search results