You are viewing limited content. For full access, please sign in.

Question

Question

Search for more than 1 patterns in a single expression

asked on February 26, 2020

Is there something akin to an OR condition in Pattern Matching? I Would like to evaluate my incoming Entry Name, against more than one pattern. Then when I find the correct pattern match. That pattern is used for the remaining steps in my WF.

 

For example I would like to match on either pattern, \d\d\d\d\d(\d\d\d\d\d\d) OR (\w\w\d+). If possible, I would like to use just one expression. And not have to use the Conditional Decision.

0 0

Replies

replied on February 26, 2020

Hi Randy,

You can use the '|' to combine searches.    (blue|green|red)

Your expression above might be written as:   (?:\d{5}(\d{6}))|(\w{2}\d)

 

3 0
You are not allowed to follow up in this post.

Sign in to reply to this post.