How can I convert a string either like \'helloThere\' or \'HelloThere\' to \'Hello There\' in JavaScript?
Below is link which demonstrates camel case string to sentence string using regex.
myCamelCaseSTRINGToSPLITDemo
my Camel Case STRING To SPLIT Demo
This is regex for conversion of camel case to sentence text
(?=[A-Z][a-z])|([A-Z]+)([A-Z][a-rt-z][a-z]\*)
with $1 $2
as subsitution.
Click to view the conversion on regex