ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

match pattern for multiple strings in labVIEW

I want to include multiple strings for matching in the regular expression for pattern matching.I tried using the or option and (|)
eg:cat|dog|mouse
If the string contains any of these it should show a match.
Is it possible in labview or do i need to use multiple patch mattern functions to achieve this?

0 Kudos
Message 1 of 3
(5,583 Views)
Match Regular Expression function will do.
You can search for multiple strings using | operator. This function will return the match of any one of the specified strings seperated by | operator
 
 
Message 2 of 3
(5,574 Views)
That answers my question.Thanks.
0 Kudos
Message 3 of 3
(5,565 Views)