JSFiddle - React, Tailwind, and code Playground
by JeffC
HTML
<script src="https://getfirebug.com/firebug-lite-debug.js"></script>
JavaScript
var text = "Product Results(123)";
//var regex = /\(1\)/;
var regex = /\d+/;
console.log(regex.exec(text));