Well didn't expect this to be so difficult
This doesn't really work
replace(Text.Text, tokenat(Text.Text, 0, " "), "")
If I use replace it removes all the same tokens. So I think I should use RegexReplace.
But I don't quite understand what this means
[quote:2diyooig]RegexReplace(String, Regex, Flags, Replace)
In String substitute matches for the regular expression Regex (with Flags) with the string Replace. The replacement string can contain the following special characters: $$ (inserts a $), $& (inserts the matched substring), $` (inserts the portion of the string that precedes the matched substring), or $' (inserts the portion of the string that follows the matched substring).