RegEx Based Extractor does not work but same expression works on Matches activity

Hello all. I have this expression:

((?<=Date: Time:)[\s\S]*?)(?=Signature)

and I have also tried

((?<=Date: Time:).*?)(?=Signature)

When running the RegEx Based Extractor I get no results even though there are multiple results for this expression on the document.

The document is 4-pages long and the goal is to extract each page’s result.

Hi @benjiherb

Use the below regex expressions

(?<=Date: Time:)([\s\S]*?)(?=Signature)

Change the regex option which is available at the bottom of the page from CultureInvariant to Compile.

Hope it works!!

1 Like

Hi,

The following may work.

((?<=Date:\s+Time:)[\s\S]*?)(?=Signature)

Regards,

1 Like

Thank you so much! This worked!

Sorry I take it back. I am now seeing values back but I’m not seeing the empty values (which should be a space). So, out of 4 values I’m only getting 3 back (see original screenshot).

This field in the taxonomy manager is set to “text” because I figured a space would be included.

Update: I will mark your post as a solution since the RegEx works! I came up with an alternate solution to capture the field I want.

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