JSFiddle - React, Tailwind, and code Playground

by kristenconnal

JavaScript

var num = "h438";
num.replace("/\D+/g", '');
console.log(num);