String change means in dart with regex
Hello guys, I am a javascript developer and I wanna know the way to breed a habits from javascript in dart. I principally have this code in javacript:
go back worth
.change(/D/g, ”)
.change(/(d{3})(d)/, ‘$1.$2’)
.change(/(d{3})(d)/, ‘$1.$2’)
.change(/(d{3})(d{1,2})/, ‘$1-$2’)
.change(/(-d{2})d+?$/, ‘$1’)
that principally get the teams of string the usage of regex and masks them. The result for a bunch like “12345678912” can be “123.456.789-12”. My solution is, HOW am i able to do that in dart/flutter?
View Reddit through grossicac – View Supply