Should I use Wildcards or Regular Expression In a Decision Shape When Data Contains Line Feeds?

Document created by sheng_liao462475 Employee on May 5, 2017Last modified by chris_stevens on May 11, 2017
Version 2Show Document
  • View in full screen mode


Use decision shape when data contains line feeds or carriage return.



You will need to use Matches Regular Expression in decision shape to detect line feeds or carriage return. Matches Wildcards option will not work.

Use Matches Wildcards to match a value on a single line input. To match a value in a multi-line input, use Matches Regular Expression.


Sample Data:




For the Decision shape, configure it as follows:

First Value: Current Data

Comparison: Matches Regular Expression

Second Value: .*test[\r\n]+.* 

1 person found this helpful