I"d like to ask you a question. There"s a need.
complete the division of the amount. For example, 12345678 = > 12345678 and then 123456789 = > 123456789.
there is no problem with this. The incomplete examples are as follows:
var result = "12345678".replace(/(\d{3})/g, "$1,")
console.log(result); // => "123,456,78"
but it matches as a whole, not a location search
how should I solve this problem if I want to look up the location from front to back?