Skip to main content
Question

HI, How can split this sentence into words? (eg: SheOpenedTheBagAndTookOutTheBookFromIt))

  • November 4, 2022
  • 4 replies
  • 152 views

I need to split this sentence, where the uppercases occurs. I had tried using find [A-Z] & substring to extract the uppercase. But am not able get proper output.

 

Thanks in advance

4 replies

Forum|alt.badge.img+6
  • Navigator | Tier 3
  • November 5, 2022

[A-Z][a-z]*


Forum|alt.badge.img+6
  • Navigator | Tier 3
  • November 5, 2022

  • Author
  • Cadet | Tier 2
  • November 5, 2022

Hi @Sumit Kumar​ , thanks for the reply

 

But am not sure how to split into words. I can use this [A-Z][a-z]* to find Uppercases but we cannot use this as a delimiter to split right. Could you please help to extract the text from 1 upperletter to next upperletter (for example :She Opened ..... )


  • Author
  • Cadet | Tier 2
  • November 5, 2022

Thanks you so much @Sumit Kumar​