Extraction from a string

I have below string
" \n\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\t\t\n\t\t\t\t\t\n\t\t\t\t\n\t\t\t\t548843\t\t\t\t\n\t\t\t\tProcess Vendor Invoice\n\t\t\t\tWI3\n\t\t\t\tOpen\n\t\t\t\t2018-12-20\n\t\t\t"
and i want output string = 548843

How can I achieve this?

This works
system.Text.RegularExpressions.Regex.Match(Input,"[0-9]{6}").ToString

1 Like

Also Try this
system.Text.RegularExpressions.Regex.Match(Input,"(?<=\t)[0-9]+?(?=\t)").ToString

@Karthick_Settu. How do I output my result?I

Using assign activity store this value into any string variable.
stringvariable = system.Text.RegularExpressions.Regex.Match(Input,"(?<=\t)[0-9]+?(?=\t)").ToString

1 Like

@Animesh_Sarma Check attached xaml file

Main.xaml (4.9 KB)

Thanks! It is working.

2 Likes