JSFiddle - React, Tailwind, and code Playground

by Matt Ball

HTML

<div>1</div>
<div>a</div>
<div>1d7s</div>
<div>
    foo
    <span>234</span>
</div>

JavaScript

// open your console

var re = /\d+/;

var $noNumbers = $('div').filter(function ()
{
    return !$(this).text().match(re);
});

console.log($noNumbers);