How to create regex in same workflow

HI @Chippy_Kolot

Regex Expression

System.Text.RegularExpressions.Regex.Matches(ReadPDFText.ToString,"(?<=ALLOTMENT\s\()(\d+)(\sHOURS\)\W+)(.*)")(CInt(item.ToString)).Groups(1)
System.Text.RegularExpressions.Regex.Matches(ReadPDFText.ToString,"(?<=ALLOTMENT\s\()(\d+)(\sHOURS\)\W+)(.*)")(CInt(item.ToString)).Groups(3)

Check out the XAML file

MatchesRegex.xaml (6.8 KB)

Output

image

Regards
Gokul