Looking for regex solution for following scenaio:
I have strings, which i have to split on the upper case basis but consecutive uppercase parts should not get split.
For example : if the input is
DisclosureOfComparativeInformation
O/p should be
Disclosure Of Comparative Information
But consecutive uppercase should not get split.
GAAP
should not result in G A A P
.
How to find the particular pattern and insert space?
Thanx