How to extract a line value with reference of first line in Regex

Hi

i am getting machine name value from this


but using this expression method iam getting machine name but machine can change for next run

so , is there any possible way to get “grinding machine” as output by reference of “Name of Machine”

please help me to get value of 4th line from Name of Machine in

Thanks in Advance

Hello Jai,

Try to split the entire string by “:” and get the second substring (index 1):

Split(yourString, “:”)(1).trim

This will work if the machine name is after the first ocurance of the":"

Hi @jai_kumar2

Give this regex a try

(?<=Name of Machine[\s\S]*?:).*

image

can u hep me on this

how to set condition in IF activity , if string is empty then go to else

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