Platform
Resources
Pricing
Sign in
Get started
randName()
I make stuff. 👨💻
Workspace
Fork
Public
By
randName()
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.
Try it for free
Learn more
Fork
View
Export
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
upd
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
Edit
Add comment
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
testcases
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML
ori
Edit
Add comment
Copy import
Select
Duplicate
Copy link
Embed
Delete
JavaScript
Markdown
HTML