Evening
An extract of the Text I am trying to parse - as identified by UiPath is as follows:-
–@“URL’S TO BLOCK
–<p class=”“MsoNoSpacing”“>
–<span style=”“”“><span style=”“font-family:"Arial",sans-serif; color:black”“>gsttnhsuk.nicepage[.]io
–<p class=”“MsoNoSpacing”“><span style=”“”“><span style=”“font-family:"Arial",sans-serif; color:black”“>jeromebrooks[.]com
–<p class=”“MsoNoSpacing”“><span style=”“”“><span style=”“font-size:12.0pt; font-family:"Arial",sans-serif; color:red”“>
–<p class=”“MsoNoSpacing”“><span style=”“”“><span style=”“font-size:12.0pt; font-family:"Arial",sans-serif”“>”
Note the preceding – are to ensure the lines are all shown in this question
I am trying to extract the two websites
gsttnhsuk.nicepage[.]io
and
jeromebrooks[.]com
For simplicity, I am trying to extract the text after
color:black
I can manipulate any surplus characters
My Matches Pattern in UiPath has
“/(?<=color:black)(.*)(?=</span></span>)/gm”
and this basically works fine in regex101.com
Can anybody offer me a reason why UiPath does not return anything - I have a enumerable match variable as the result from the Matches object, but it appears to return nothing