In a Postgres query I wrote, I'm trying to find an empty char between a digit and a char.
The Raw-Data looks pretty similar to this:
"X 1111-11-112222-22-22YY 3333-33-334444-44-44ZZZ5555-55-556666-66-66AAA7777-77-778888-88-88B 9999-99-991111-11-11"
I would like to split this into following table:
X 1111-11-112222-22-22 YY 3333-33-334444-44-44 ZZZ5555-55-556666-66-66 AAA7777-77-778888-88-88 B 9999-99-991111-11-11
So, normally i would do this by defining the Regex (?<\d)(?=[A-z])
which is giving me the empty char between the chars and digits, but Postgres doesn't support lookbehinds.
Anyone an idea how to fix this?
Thanks in advance!