KotlinLeaner
val string = "Welcome<br>how are you?"
string?.replace("\\<.*?\\>", " ");
Chrimaeon
toRegex()
string.replace("\\<.*?\\>".toRegex(), " ")
"""
string.replace("""<.*?>""".toRegex(), " ")
Robert Williams
A modern programming language that makes developers happier.