JSFiddle - React, Tailwind, and code Playground
by bvotcode
JavaScript
var x = " tinh tong: 1020 "
var y = x.replace(/[^0-9]/g, '')
if (y>130)
{
alert(y)}
by bvotcode
var x = " tinh tong: 1020 "
var y = x.replace(/[^0-9]/g, '')
if (y>130)
{
alert(y)}