How to remove whitespaces and add + sign there

http//google 2022 to 2023 .com to change this to http//google+2022+to+2023.com

1 liner
const URI = 'http//google 2022 to 2023.com'.replace(/ /g,'+');

Or you could use a change node:
Screen Shot 2022-12-19 at 7.15.09 AM
just make sure to put a space in the 'Search for' option

2 Likes

yes done with change node thanks a lot

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.