Quantcast
Channel: All LabVIEW posts
Viewing all articles
Browse latest Browse all 202521

Re: Unique regular expression to check if a string contains letters and numbers

$
0
0

jcarmody wrote:

It looks like the previous answers will match a string that contains alpha or num, not alpha and num only.

 

 


Jim, Thanks for pointing out I missed the req.

 

I'd still go with the lex class over the regex just for readability (unless you are a regex guru)

!1-1.png

"True if: A decimal digit Character exists And a alphabetic char exists And all chars are either Alpha or numeric" 

 


Viewing all articles
Browse latest Browse all 202521

Trending Articles



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