How to extract 2,154,453 or 22,45,415 these kind of numbers.
@saikumar17
Welcome to the forum.
Your request is unclear related to extracted from what.
Have a look here:
Parsing into a number
Extraction from a string with the help of regex
from paragraphs all numeric values and decimal values and I want know the count of the data from which we extracted.
Fine
Letβs take like you have the string in a variable named Strinput
Then use a assign activity like this
This str_matches will have all the matches found with numerical and decimal values
Where str_matches is a variable of type
System.Generic.Collections.List(system.Text.RegularExpressions.Regex.Match)
To Know this count
Use a assign activity like this
count_matches = System.Text.RegularExpressions.Regex.Matches(Strinput.ToString, β(\d|,|.)β).Count
Where count_matches is a variable of type int32
Cheers @saikumar17
Thanks for the help.