Can anyone explain how can I for search multiple substring using "Is Match" activity

I am using “Is Match” activity to see where my string contains two of substring value. But the pattern i use seems to be not working.

Pattern: “Arrays”&“String”
Input:
“DataType Arrays
DataType String
DataType Bool
HasType… FolderType”
Output: False

Expected output: True

Any help would be appreciated?

Hi,

The pattern should be the following.

"(Arrays[\s\S]*String|String[\s\S]*Arrays)"

Regards,

Exactly what I was looking for…

Thank you @Yoichi :slight_smile: :+1:

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.