I've got the following symbols in my text:
V is 100 m³, and square is 12 m²
I need to replace these symbols with normal once:
V is 100 m3, and square is 12 m2
I'm stuck with the following RegExp:
var result = text.repalce(/³/, '3').replace(/²/, '2');
It works fine but I'd like to have universal regexp that will cover all such digits in uppercase (1,2,3,4....).
Please help me with that.