hello community ,
i’ve been trying to replace or split white space between text ex. iv1234-5610 iv1234-5609 ,but formula show data ex. iv1234-5610iv1234-5609 . I would like to split or replace whitespace between text or word.
formula
I’m not sure to completely understand what you’re trying to do but I can tell you that Split() doesn’t understand RegEx (AFAIK) so this Split(thisRow, "[a-z]{2}\d{4}-\d{4} ") will not work …
Note that, as I actually don’t know if the screenshot you shared is the result you’re expecting or the data you’re trying to split, the examples here might not work because I assumed it was the result you’re expecting
For simple whitespaces using Split() you could use something like :
(See the table [Split and Join] in the sample below )
But if you really want to use RegexReplace() I guess (as I’m not RegEx fluent) that you should look for any whitespace character (\s in RegEx) so the formula should probably look like this :
thisRow.Test.RegexReplace("\s",LineBreak())
I hope this helps !
Don’t hesitate if something doesn’t go as expected or if you have questions !