i need substring of “The challenge: vast amounts of untapped data in emails and chats. UiPath Communication Mining transforms unstructured text into actionable insights. Expect up to an 80% reduction in manual effort, improved decision-making, and enhanced customer experiences.” to get “80% reduction”
If the reduction was constant string then you can use simple regex here
\d+% reduction
if reduction can chnage
then use below pattern
\d{1,3}% \w+
I hope you know how to use regex pattern, if not please let me know
try and let me know
1 Like
do we can’t use substring here.
because i don’t know regex
you can use substring but its better to use regex
let me give you screenshot for better understading
- take one assign activity
- create a string variable
- give it in To section of assign activity
- in value section pass below value
System.Text.RegularExpressions.Regex.Match(strInput,“\d{1,3}% \w+”).ToString
Happy automation!!
