LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

regular expression for finding anything which isn't a defined sequence

Solved!
Go to solution
Solution
Accepted by rik_aspinall

Try this, I hope this help you. If you want another word, change hello by Hello or any other.

 

Find if not contains word.png

Message 11 of 14
(1,360 Views)

As I say folks I'm aware that there are many ways around this problem. I am asking specifically for help in writing a regular expression such that the same result is achieved.

0 Kudos
Message 12 of 14
(1,341 Views)

You need to be more specific, the match pattern vi has no boolean output that can return TRUE or FALSE.

I guess input is the string input of the match pattern vi. What is Match, the regular expression input? And what is Match?

 

Ben64

0 Kudos
Message 13 of 14
(1,328 Views)

Unfortunatly you used Match Pattern.vi which only accomodate a limited set of regular expressions. You need to use Match Regular Expression.vi to be able to do what you want with a regex. A variation of the regex in AYanez post should do the trick.

 

Ben64

Message 14 of 14
(1,305 Views)