UtilRegExPatternsPhone Field

A pattern that matches a Phone number.

Number in the following form: (###) ###-####

Definition

Namespace: DevCase.Core.DataProcessing.RegEx
Assembly: DevCase.net48 (in DevCase.net48.dll) Version: 6.0.0.0 (6.0)
XMLNS for XAML: Not mapped to an xmlns.
public const string Phone = "/^(?[0-9]{3})?|[0-9]{3}[-. ]? [0-9]{3}[-. ]?[0-9]{4}$/"

Field Value

String

See Also