I have a string that contains String q = "What's the value of √32 and √83?";
, my problem is replacing √num with sqrt(32) and sqrt(83).
That means my string should output:
What's the value of sqrt(32) and sqrt(83)
Actually, one question for me was answered in Java:
Replace all √num from a string java
When I try to do the same in JS, it's not changed: