Regex trying match value from text - getting object reference

Hi guys

My regex:
(?<=w\s(1)\n)(.*?(?=\s))
image

Why? :confused:

Hi,

Perhaps you should take care for CR(\r).
Hope the following pattern helps you.

(?<=w\s\(1\)\r?\n).*?(?=\s)

Regards,

1 Like

Yes it works - weird
Thank you so much

1 Like

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