JSFiddle - React, Tailwind, and code Playground by serGlazkov April 12, 2019 HTML <input type="text" pattern="[0-9]{3}[-][0-9]{3}[-][0-9]{2}[-][0-9]{2}"/>