Posts by bruno pessoa • 41 points
1 post
-
4
votes4
answers130
viewsA: String Manipulation in Javascript?
You have this solution: wcalcAlm.replace(/(\d{2})/,'$1:'); replace will go through the whole amount. /(\d{2})/ with Regex I will take the digits and break in the second position. after having…