EXAMPLE:
in the next text I want to separe 1, 6 and 16.
“The purchase of 1 software creation, 6 consulting services and 16 computers was successful.”
But i only can separe 1, 6, 1 and 6. OR only 16.
EXAMPLE:
in the next text I want to separe 1, 6 and 16.
“The purchase of 1 software creation, 6 consulting services and 16 computers was successful.”
But i only can separe 1, 6, 1 and 6. OR only 16.
(?=[^\d]\d){1} it will give you 1digit only and (?=[^\d]\d){2} it will give you 2 digit you can use with ismatches activity
@Goncalo_Leite1 My understanding is you want to extract the numbers from the statement. If it so try with the below regex exp. Attached workflow for ref. If this is not the requirement please explain the actual one
Example.zip (2.8 KB)
System.Text.RegularExpressions.Regex.Matches(Input, "\d+")
Output
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.