0

For some reason my data is getting truncated at the end and I'm unsure as to why. I'm using Nintex Workflow RegEx action to extract my data which comes in two types

1. Who or Who: Something
2. When or When: 150845Z - 161045Z Jan 16
3. Where or Where: Around the world

Then I use the following

(?<=When:\s).*

In my online test it shows as it capturing RegEx Example. The problem occurs when I run this in Nintex Workflow. I get the following output 150845Z - 161045Z Jan 1=

Is this a Nintex problem or my RegEx?

EDIT

To further clarify I have the following data can be received.Data Capture I'm current doing the following (?<=When:[^\S\r\n]*)[^\r\n]+|(?<=When: *).+(?=[\r\n]*\d+\.\s*Where) The reason for this is the data might come in as

2. When: 150845Z - 161045Z Jan 16
3. Where: Around

or

When: 150845Z - 161045Z Jan 16
Where: Around

I can't control how the data is being received. I know now that I need to start the capture after When:\s and stop on 3. Where: or Where:

4

0 回答 0