H
heather
I have a problem that I believe can be solved with the right regular
expression, but I'm not having luck with it.
Given a data stream example of:
123 AG 45675 0987 AA 618 123A721B123A041B193A711B173A091B
I need to change it to be:
123 ABC 4567 0987 AA 618 123A 721B 123A 041B 193A 711B 173A 091B
Basically, separate the last value with a space after each letter.
The data will also be in the format as the example, where the letters I
need to separate will always be A or B. There could be an existance of
an A or B elsewhere in the line, and those aren't to be separated.
Tanks in advance!
Heather
expression, but I'm not having luck with it.
Given a data stream example of:
123 AG 45675 0987 AA 618 123A721B123A041B193A711B173A091B
I need to change it to be:
123 ABC 4567 0987 AA 618 123A 721B 123A 041B 193A 711B 173A 091B
Basically, separate the last value with a space after each letter.
The data will also be in the format as the example, where the letters I
need to separate will always be A or B. There could be an existance of
an A or B elsewhere in the line, and those aren't to be separated.
Tanks in advance!
Heather