Public
Edited
May 16, 2023
Insert cell
Insert cell
upd = /^([a-zA-Z0-9]+|[a-zA-Z0-9]+-[a-zA-Z0-9]+|[a-zA-Z0-9]+\/[a-zA-Z0-9]+|[a-zA-Z0-9]+-[a-zA-Z0-9]+\/[a-zA-Z0-9]+|)$/
Insert cell
Insert cell
testcases = [
'a',
'1',
'#',
'1-',
'-1',
'1/',
'/1',
'12//34',
'1/23/4',
'1-23-4',
'12/3-4',
'01-1///2',
'01-1/2',
'011/2',
'01-23',
]
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more