JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://www.thimbleopensource.com/download/jquery/jquery.filter_input.js"></script>
<form>
    <p>what is the deal</p>
        <input type="text" id="test1"/>
    <p>what is going on here?</p>
        <input type="text" id="test2"/>
</form>

JavaScript

$(document).ready(function(){
    $('#test1').filter_input({regex:'[a-z]'});
    $('#test2').filter_input({regex:'[A-Z]'});
});