if this is the input string in a variable named strinput
then strNumber = strinput.Split(Environment.NewLine.ToArray(),StringSplitOptions.RemoveEmptyEntries)(0).ToString.Trim
this will give us 61231279 as output
and for checkDate
use a assign activity like this str_Date = System.Text.RegularExpressions.Regex.Match(strinput,“[0-9]{4}-[0-9]{2}-[0-9]{2}”).ToString
then like this str_Date = System.Text.RegularExpressions.Regex.Match(strinput,“[0-9]{4}-[0-9]{2}-[0-9]{2}”).ToString
once after getting this use this expression to get each and individual variable str_year = Split(str_Date.ToString,“-”)(0).ToString str_Month = Split(str_Date.ToString,“-”)(1).ToString str_Datevalue = Split(str_Date.ToString,“-”)(2).ToString
Hi @MONALI_BHALERAO, use the assign activity, like you did for the other values above and write for value : System.Text.RegularExpressions.Regex.Match(myStringVal,“((?<=Number.).*)”).Value
Don’t forget to replace “myStringVal” with your variable Name. You will get the output “92195973\r\nStatus:Processed”.
Now use another assign activity to split only the numbers out of the string and type in the value field: System.Text.RegularExpressions.Regex.Replace(yourString,“\D”,“”) The Output should now be “92195973”.