개인공부/웹개발이것저것
[정규식] 천단위 콤마 javascript
psys
2021. 2. 5. 15:39
728x90
var 변수 = 천단위콤마찍을애.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");