Regex through loop iteration items need help

Here i need to extract the values is alpha with numeric values example: I need like this :-A41.9,R65.20,J18.9,J96.01,N17.0
Denied Diagnosis: A41.9; Sepsis
Denied Diagnosis: R65.20; S Diagnosis
Denied Diagnosis: J18.9; Pneumonia
Denied Diagnosis: J96.01;
Denied Diagnosis: N17.0; Acutes

@jk_12345

Matches = System.Text.RegularExpressions.Regex.Matches(InputText, “[A-Z]+\d+.\d+”)

Hi @jk_12345

\b[A-Z]\d+\.\d+\b

Hope it helps!!

I have regex expression. but unable to insert the code in UiPath tool

Hi @jk_12345

Try this:

Input= "Denied Diagnosis: A41.9; Sepsis
        Denied Diagnosis: R65.20; S Diagnosis
        Denied Diagnosis: J18.9; Pneumonia
        Denied Diagnosis: J96.01;
        Denied Diagnosis: N17.0; Acutes"
Output= System.Text.RegularExpressions.Regex.Matches(Input,"[A-Z0-9.]+(?=\;)")

Run a For Each loop for the variable Output

Hope it helps!!

I need UiPath code as well…

@jk_12345

Please follow this hope it helps

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.