Quantcast
Channel: NI TestStand topics
Viewing all articles
Browse latest Browse all 6730

Validate string result by reglar expression

$
0
0

Hi

 

I have to validate a string result in teststand.

The result is a String like this 00:02:15:1x:yz:qp, where x can be in the range 0-9 or a-f or A-F. The same for y, z, q and p.

How do I test for that?

For 00:02:15:1 i can just type "00:02:15:1" in Expected String Value:

But how do I test for the rest?

I know that I can use regular expressions like [0-9a-fA-F], but I can't write that into Expected String Value: directly.

 

Thanks in advance.

 

Bjarne

 


Viewing all articles
Browse latest Browse all 6730

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>