You can use this formula to split the value into 2 parts and return the first part.
Here is the full formula
(this.split(/ /, 2).first).tr(',', '')
This splits the value into 2 parts by a [SPACE], that is what’s in between the 2 slashes.
this.split(/ /, 2).first
This part removes the comma from the first part.
tr(',', '')
Hope this helps!