JSFiddle - React, Tailwind, and code Playground

by Zhitao Gong

HTML

<input type="text" name="input" id="input"/>
<button type="button" id="doit">click me</button>
<h3 id="show"></h3>

JavaScript

$(document).ready() { 

    var index = /\d+/;
    var timerange = /\d{2}:\d{2}:\d{2},\d{3}\s-->\s\d{2}:\d{2}:\d{2},\d{3}/;
    // ref: http://stackoverflow.com/questions/1366068/whats-the-complete-range-for-chinese-characters-in-unicode
    var zh = /[\u4E00-\uFA29\u3400-\u4DFF\u20000-\u2A6DF\uF900-\uFAFF\u2F800-\u2FA1F]*/;

    var towspace = /\x20\x20/;
    var onespace = /\x20/;

    $('#doit').click(function() {
    });

}