Does anyone know how I can extract the 8003585755 from the whole line? Using get text, I keep getting the whole sentence and if I use a screenshot it will not get any info out of it.
If anyone could help it would be much appreciated.
no worries buddy get text is very reliable and luckily you were able to select that as element and get the word as well
rather to fnd another way leaving this reliable one, why can’t we use this a string input and split them to get the exact value alone like this
out_value = Split(gettextvariable," ")(3).ToString
This would get you that value alone buddy
Kindly try this and let know buddy, this would work
Cheers
Where in the input you need to enter text variable captured
And in the pattern- “\d+” which fetches only digit to the array.
In the array.index(0) the number will be captured
Buddy once you get the text from get text activity and get the output from that activity with variable named gettextvariable of type string
use a assign activity very next to it and in assign activity mention like this
out_value = Split(gettextvariable," ")(3).ToString
where out_value is of type string
thats all buddy you will get the text you want buddy @Brandon_Halim
with out_value and you can put that messagebox if you want
It should be available under UiPath Core Activities - (UiPath.Core.Activities.Matches)
I am using version 2018.4.3 and regex activity was by default present for me under Programming