JSFiddle - React, Tailwind, and code Playground

by JWo1F

HTML

<form>
<input pattern="\+1 \([0-3]{3}\)">
</form>