Question

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

  • 4 November 2022
  • 4 replies
  • 45 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

Userlevel 3
Badge +6

[A-Z][a-z]*

Userlevel 3
Badge +6

Use Regex package(https://botstore.automationanywhere.com/bot/a2019-regular-expression-tools-package and action extract matches:

imageOutput

image

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 ..... )

Thanks you so much @Sumit Kumar​ 

Reply