JSFiddle - React, Tailwind, and code Playground

by Craig Haywood

HTML

<form action="" method="post">
    <input name="demo" type="text"  onkeyup="this.value = this.value.replace(/[^':]*$/, '')" id="demo" />
    <input type="submit" value="submit"/>
</form>