How to storetext without commas?

Hello,
I would like to apply storetext to number with commas examples
5,899.0000
330,223.0000

Is there anyway i could fetch the text without , so it in result of
5899.0000
330223.0000

Any help would be very helpful to me thanks!
Great community by the way

To remove certain characters (here: commas) replace them with "" after you scraped the text with storeText.

See here:

I tried but when i try to apply executeScript_sandbox on the var i have previously store with the functtion storetext it will says “var” is not defined.

{
“Name”: “testing 1”,
“CreationDate”: “2021-11-18”,
“Commands”: [
{
“Command”: “storeText”,
“Target”: “xpath=//*[@id=“root”]/section/main/div/div/div/div[2]/div/div/div[2]/div[2]/div/form/div/div/div[2]/div[2]/div/span”,
“Value”: “var”,
“Description”: “”
},
{
“Command”: “executeScript_Sandbox”,
“Target”: “return ${var}”,
“Value”: “var1”,
“Description”: “”
}
]
}

But var actually successfully stored but executescript_sandbox just doesn’t work with storetext function

Try this
{
“Command”: “storeText”,
“Target”: “xpath=//*[@id=“root”]/section/main/div/div/div/div[2]/div/div/div[2]/div[2]/div/form/div/div/div[2]/div[2]/div/span”,
“Value”: “var”,
“Description”: “”
},
{
“Command”: “executeScript_Sandbox”,
“Target”: “var x=${var}; return x.replaceAll(”,","");",
“Value”: “var”,
“Description”: “”
}