Pattern
- Viewer
- JSON Schema
Schema
type : string
Pattern :
^(\([0-9]{3}\))?[0-9]{3}-[0-9]{4}$
{
"type": "string",
"pattern": "^(\\([0-9]{3}\\))?[0-9]{3}-[0-9]{4}$"
}
^(\([0-9]{3}\))?[0-9]{3}-[0-9]{4}$
{
"type": "string",
"pattern": "^(\\([0-9]{3}\\))?[0-9]{3}-[0-9]{4}$"
}