So i've found this - working code sample
\\B[A-Z])", " $1"
However I don't want it to space out things like "AccountUserID" to "Account User I D" - so basically no spacing if a trailing uppercase letter exists
Can anyone show me a better approachable way - possibly using capturing groups and a negative digit identifier.
Thanks!
If lookbehind is supported then you can use:
(?<![A-Z])\B(?=[A-Z])
RegEx Demo
And replace it by just " "
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With