JSFiddle - React, Tailwind, and code Playground

by jimkennelly

JavaScript

var x = new RegExp ("^[A-Za-z0-9_.]+$");


alert(x.test("a_aa.pdf"));