JSFiddle - React, Tailwind, and code Playground
HTML
<form action="#">
<input type="text" required pattern="[^\/\\${}]*">
<button type="submit">Submit</button>
</form>
<form action="#">
<input type="text" required pattern="[^\/\\${}]*">
<button type="submit">Submit</button>
</form>