I have this code to split CamelCase by regular expression:
Regex.Replace(input, \"(?<=[a-z])([A-Z])\", \" $1\", RegexOptions.Compiled).Trim();
You can try this :
Regex.Replace(input, "((?
Example :
Regex.Replace("TheCapitalOfTheUAEIsAbuDhabi", "((?
Output : The Capital Of The UAE Is Abu Dhabi