I have a string which i want to split using a character preceded by a particular character
Foo:xxxxxxxxx:Bar:xxxxxxxx:FooBar:xxxxxxx
I want to split it using colon : coming after x.
I tried x: but it is removing last x.
I know that i can use this regex and then append x in each splitted string but is there a way to split this string using regex so that last x is also there.
Zero-width positive lookbehind assertion.