Kotlin Remove all non alphanumeric characters

后端 未结 0 1716
盖世英雄少女心
盖世英雄少女心 2021-02-11 12:55

I am trying to remove all non alphanumeric characters from a string.

I tried using replace() with a regex as followed:

var answer = answerEd         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题