``` "3hello".replace("3(\\w+)".toRegex(), "$1hi") ...
# getting-started
p
Copy code
"3hello".replace("3(\\w+)".toRegex(), "$1hi")
returns
Copy code
"hellohi"