Hello Team,
My string value =“Book = Accrual ; Tree = bb-bs”
I need output as =“Book = Accrual”
can you anyone help me the regular expression here “; Tree” this only constant remaining changing dynamically.
Thankyou.
Hello Team,
My string value =“Book = Accrual ; Tree = bb-bs”
I need output as =“Book = Accrual”
can you anyone help me the regular expression here “; Tree” this only constant remaining changing dynamically.
Thankyou.
System.Text.RegularExpressions.Regex.Match(Input,"(^.*?(?=; Tree))").Value.Trim
Regards,
Thankyou for the Solution
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.