hi,
i am using get text text activity in web.
getting output like–>USD 39,330.00
2. USD 7,486.00
i want to data like -->39330 , 7486 without commas,
can anyone help ?
hi,
i am using get text text activity in web.
getting output like–>USD 39,330.00
2. USD 7,486.00
i want to data like -->39330 , 7486 without commas,
can anyone help ?
System.Text.RegularExpressions.Regex.Match(YourString,"(?<=USD\s)\d.+").Tostring
Regards
Gokul
Another method
Split("USD 39,330.00","USD")(1)
Regards
Gokul
Hi @Anand_Designer
use in assign activity
string b= System.Text.RegularExpressions.Regex.Replace(“string_Variable”,“\D”,“”)
@Anand_Designer
Try this
String-> cint((System.Text.RegularExpressions.Regex.Match(YourString,"(?<=USD\s)\d.+").Tostring).Replace(",","")).ToString
Integer-> cint((System.Text.RegularExpressions.Regex.Match(YourString,"(?<=USD\s)\d.+").Tostring).Replace(",",""))
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.