I want to remove all characters in a given string,...
# announcements
s
I want to remove all characters in a given string, which do not match the regex above. How can I accomplish this?
r
val result = string.replace(regex, "")