如何在 GTM 中使用正则表达式 Table 从格式化数字中删除空格

How to remove whitespace from a formatted number with Regex Table in GTM

我在 Google 标签管理器中有一个变量,我想使用正则表达式 Table 从空白中去除带格式的数字 数字看起来像 3 500 000,我想要 3500000。

我应该在模式和输出中输入什么?

输入为 3 500 000

输出应该是 3500000

我没有选中 "Enable Capture Groups and Replace Functionality" 选项。 我刚刚将 \s* 添加到模式中并且我工作了