DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
json regex
{ "type": "string", "pattern": "^(([0-9]{3}))?[0-9]{3}-[0-9]{4}$" }
Source by json-schema.org #
PREVIOUS
NEXT
Tagged:
#json
#regex
ADD COMMENT
Topic
COMMENT
Name
3+5 =
Submit