Ex : I have the below string
string -124/598 986
result- 598
Thanks in advance
Ex : I have the below string
string -124/598 986
result- 598
Thanks in advance
Hi,
How about the following expression?
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=/)\d+").Value
Regards,
Hi @smrutismita.samal ,
Here’s another way:
"124/598 986".split(" "c).First.split("/"c)(1)
Regards,
How about this Regular expression?
System.Text.RegularExpressions.Regex.Match(yourString,"(?<=\/)\d+").Value
Regards
Gokul
Try using the following Regex expression in “Find Matching Patterns” activity or use an assign activity and give the syntax as below:
Regex Expression: (?<=\/)[\d]+
In Assign activity:
Varname= System.Text.RegularExpressions.Regex.Match(yourString,"(?<=\/)[\d]+").Value
Hope it helps!!
Regards,