Remove duplicate white spaces (including tabs, newlines, spaces, etc...) in a string

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

@PrasadRangu thanks for sharing your knowledge :slight_smile:

@PrasadRangu

thanks. it worked for me.

@PrasadRanguThis worked for me. Thanks.