Get Value

I am using the “Type Info” Activity to get the element, but other than this i want to extract the specific value for example “21.5”, screen shot is given below

image

Hi @Farrukh_Munir

We can try with get text activity!

Regards

Get Text to get the full element, i just want to extract “21.5”

Hi @Farrukh_Munir

We can try extracting the full text and with regex or string manipulation we can get the specified value!

Regards

HI @Farrukh_Munir

So After getting the full value as suggested you can try with rex and string manipulation

Regex expression
System.Text.RegularExpressions.Regex.Match(GetValueVariable,"(?<=BMI\sis\s)(\d.+)(?=\s()").tostring

String Manipulation
Split(“Your BMI is 21.5 (N”.Substring("Your BMI is “.Length),” ")(0)
Instead of hardcoded values you can use your get text variable value here
image

Regards
Gokul

3 Likes

appreciate your kind support, thanks!

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.