JSFiddle - React, Tailwind, and code Playground

JavaScript

var regex = /\d+/;
	var str = "share__43";
	alert (str.match(regex ));