Find Any Text after

Hi I have text file and i want extract the second and third value.It is dynamic,value comes many
means not exact value comes 3,4,5,6 many comes.
any.txt (65 Bytes)

Hi @Himanshu_Pratap_Rana,

You can split it according to enter by reading txt.

valueArray= value.Split(Environment.NewLine.ToArray,StringSplitOptions.RemoveEmptyEntries)

Hello @Himanshu_Pratap_Rana

You can use regex to extract the similar patterned data. You can write an expression or you can use Regex inside IsMatch activity.

System.Text.RegularExpressions.Regex.Match(inputText, “your regex expression”).ToString

Somw more elaboration maybe will help. Give a try at working with regex:

Refering to the groups:

Pattern: (Bearing.*?()([\d.]+)x([\d.]+)x([\d.]+)
Kindly note: we used the CaseInsentive option

Sample Code:

myMatch = Regex.Match(strText,strPattern, RegexOptions.IgnoreCase)


Thanks for supporting all but in my case the first value is dynamic

we would recommend to directly share with us complete information in a clear way.

can be interpretated in different ways and you know at best the variations

Still we do have options to make it more generic.

I have a data table and extract the information through table extraction and i want only those value which present in down side

we do feelt that the initial request and described requirement differs much from this request:

Depending on the values within the datatable you can start to split the lines with the YourStringVar.Split method Or another Regex.

Just start and inspect within a next further analysis the datatable content within a debugging round
Understanding the 6 Debugging Panels of UiPath in the easiest way possible! - News / Tutorials - UiPath Community Forum