Hi…all
I need help on regex
Var= Case : c123456 > flexible
Variable is having this data in this i need to get
C123456
After semicon before > always format will be same
Hi…all
I need help on regex
Var= Case : c123456 > flexible
Variable is having this data in this i need to get
C123456
After semicon before > always format will be same
Try with this regex expression
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=Case\s:\s)\S.*(?=>)").Tostring
Regards
Gokul
Alternative method @Arya_Squares
You can also try with Split expression
split(split("Case : c123456 > flexible",":")(1),">")(0)
Regards
Gokul
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.