If I have a row of data separated by channels:
123456 | abcd ||| 65464 | hgfhgf
How to replace any event ||with | |:?
So, it will look like this:
123456 | abcd | | | 65464 | hgfhgf
I tried using a simple Java expression:
delimString.replaceAll("\\\|\\\|", "| |");
but this replaced only the first occurrence:
123456 | abcd | || 65464 | hgfhgf
So I need something to repeat (eagerly, I think).
Chris source
share