JSFiddle - React, Tailwind, and code Playground

JavaScript

console.log(JSON.stringify(/^[0-9]+$/));