Kotlin Remove all non alphanumeric characters

后端 未结 0 1260
無奈伤痛
無奈伤痛 2021-02-11 13:07

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

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

var answer = answerEd         


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