Join Slack
Powered by
you'd have to make the regex `"(..)"` for the capt...
# getting-started
j
jonathanmeeks
12/28/2016, 9:45 PM
you'd have to make the regex
"(..)"
for the capture group 1 to work. I did have to make one more change to get rid of the trailing `-`:
"abcdefgh".replace(Regex(".."), "$0-").trimEnd('-')
Open in Slack
Previous
Next