From 04:00 PM CDT – 08:00 PM CDT (09:00 PM UTC – 01:00 AM UTC) Tuesday, April 16, ni.com will undergo system upgrades that may result in temporary service interruption.

We appreciate your patience as we improve our online experience.

FieldPoint Family

cancel
Showing results for 
Search instead for 
Did you mean: 

How to define number of match in Regular Expression for Match Regular Expression function?

Hi,

 

I am trying to use Match Regular Expression function to check if string matches certain format, say 5 charactars and 6 digitals. How to define it in regular expression?

 

Format [A-Z]+[0-9]+  will not limit the number of matches.

 

 

I can do  [A-Z][A-Z][A-Z][A-Z][A-Z][0-9][0-9][0-9][0-9][0-9][0-9], but any better way?

 

Thanks for any help.

 

Anne

0 Kudos
Message 1 of 2
(5,906 Views)

I got it. 

0 Kudos
Message 2 of 2
(5,903 Views)