AnsweredAssumed Answered

Why does workflow RegularExpression Extract return a collection?

Question asked by stempb on May 17, 2017
Latest reply on May 18, 2017 by stempb

All I want to do is to extract the string of everything up to the first \ character.

 

So I came up with this as my regular expression.

^(.+?)\

But the extract action wants a collection for the result.    Why?   I can see a collection for a split but can't fathom why an extract would return a collection.

 

Is the an easier way to do this?

 

Say I have the string ABC\123

 

I want to return ABC   in a workflow action.

Outcomes