The idea is to leave it as (909) 793-2853:4024, after the “:” we have the extension, this is present in only some of the phone numbers, if there is no extension the phone number should be like: (909) 793-2853
If someone from the community can help with this would be awesome, I think the best approach could be using regex in string manipulation node.
inject formatting characters regexReplace($phone numbers$, "^(.{3})(.{3})(.*)$" , "($1) $2-$3")
this step could also be done with normal string concatenation of substrings as well
edit: Thanks to Gordon I realised that the 2nd replacement can be cut down a little
nesting is obviously also possible, mine looks like this then: regexReplace(regexReplace($phone numbers$, "[^0-9|:]", ""), "^(.{3})(.{3})(.*)$" , "($1) $2-$3") RegEx to standardise phone formats.knwf (16.7 KB)