在 Power Automate Desktop 中删除除新行 - 正则表达式之外的所有额外空格
Removing all extra white spaces apart from New Line - Regex in Power Automate Desktop
在使用 Power Automate Desktop 时遇到问题,尝试转换它:
OS Name : Microsoft Windows 10 Pro
System Name : DESKTOP-VHCTR2M
Processor : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2668 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date : American Megatrends Inc. 0504, 19/05/2009
BaseBoard Manufacturer : ASUSTeK Computer INC.
BaseBoard Product : P6T DELUXE V2
Platform Role : Desktop
Secure Boot State : Unsupported
Installed Physical Memory (RAM) : 32.0 GB
删除所有多余的白色 space 但保留新行,因此结果如下所示:
OS Name : Microsoft Windows 10 Pro
System Name : DESKTOP-VHCTR2M
Processor : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2668 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date : American Megatrends Inc. 0504, 19/05/2009
BaseBoard Manufacturer : ASUSTeK Computer INC.
BaseBoard Product : P6T DELUXE V2
Platform Role : Desktop
Secure Boot State : Unsupported
Installed Physical Memory (RAM) : 32.0 GB
所以所有文本都有 1 个白色 space 而不是随机的 spaces。
任何帮助将不胜感激。
[^\S\r\n]{2,}
这似乎有效。
在使用 Power Automate Desktop 时遇到问题,尝试转换它:
OS Name : Microsoft Windows 10 Pro
System Name : DESKTOP-VHCTR2M
Processor : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2668 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date : American Megatrends Inc. 0504, 19/05/2009
BaseBoard Manufacturer : ASUSTeK Computer INC.
BaseBoard Product : P6T DELUXE V2
Platform Role : Desktop
Secure Boot State : Unsupported
Installed Physical Memory (RAM) : 32.0 GB
删除所有多余的白色 space 但保留新行,因此结果如下所示:
OS Name : Microsoft Windows 10 Pro
System Name : DESKTOP-VHCTR2M
Processor : Intel(R) Core(TM) i7 CPU 920 @ 2.67GHz, 2668 Mhz, 4 Core(s), 8 Logical Processor(s)
BIOS Version/Date : American Megatrends Inc. 0504, 19/05/2009
BaseBoard Manufacturer : ASUSTeK Computer INC.
BaseBoard Product : P6T DELUXE V2
Platform Role : Desktop
Secure Boot State : Unsupported
Installed Physical Memory (RAM) : 32.0 GB
所以所有文本都有 1 个白色 space 而不是随机的 spaces。
任何帮助将不胜感激。
[^\S\r\n]{2,}
这似乎有效。