Answers for "how to split text at capital letter js"

1

js split string on capital letter second

'ThisIsTheStringToSplit'.split(/(?=[A-Z])/); // positive lookahead to keep the capital letters
Posted by: Guest on January-27-2021

Code answers related to "how to split text at capital letter js"

Code answers related to "Javascript"

Browse Popular Code Answers by Language