0
データを抽出する必要がある電子メールがあります。私は選択された抽出機能でNintex Workflows RegExアクションを使用しています。私はオンラインの.NET正規表現テスターを使ってワークフローで動作することを検証します。RegExは2回の単語の最初の出現の間のすべてに一致します。どちらも複数回出現します
私のデータはこのようなものです。
There is some extra information here that is not needed
WHEN: 12 12:34Z - 12 45:67Z May 16 (I need everything after WHEN:\s until EOL)
WHERE: Around (I do not need this line)
There is some extra information here that is not needed
WHEN: 12 12:34Z - 12 45:67Z May 16 (Duplicate data not needed)
WHERE: Around (I do not need this line)
There is some extra information here that is not needed
私は次のコードを使用して2つのキーワードの間でキャプチャしています。問題は、それがまだ重複データ(?s)(?<=WHEN:\s).*?(?=WHERE:)
私は 'WHEREをキャプチャする必要はありません。' – JeremyA1