Regex works on Regex101 but not in Studio

Hello the expression below works on regex101 (capturing the last number in the line next to “global adjustment”), but when I use it in studio it couldn’t find a match, what could be the reason? I assign:
Match = Regex.Match(in_PdfTxt.tostring.Trim,"(?<=Global Adjustment)(?:\r?\n.* )([\d,.]+)$")
where match is type Match
Thanks!

Hi,

It might be same as the following post.

Regards,

@Yoichi thank you for helping me out again. I checked the multiline but still couldn’t find a match…

Hi,

Can you check it by actual expression result? Reflex builder wizard doesn’t support multiline option.

Regards,

Sorry I figured it out, instead of Exactly, I should’ve used Any as quantifier, thanks so much!

1 Like

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