Hi,
If string has more duplicate spaces. you can use below function with expression and it will remove all the duplicate spaces from string.
For example: Lorem Ipsum Dolor 96 and you can remove the duplicate spaces and out put is Lorem Ipsum Dolor 96
@pxReplaceAllViaRegex(“Lorem Ipsum Dolor 96”,“\s+”," ")
Thanks