LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Match regular expression only gets double digit number between brackets

Solved!
Go to solution

Hi, 


I am using match regular expression with the following expression. It is only able to get any numbers that are not single digits. I want to grab any values that are between >< in the string and create an array. 

 

So 

<ENV_SCALE>182</ENV_SCALE>
<TXFE_GAIN>2</TXFE_GAIN>

 

would output

182

2

 

Any help would be appreciated. I've attached what I have so far. Right now I still have the >< and it can only grab numbers that are not single digits.  

0 Kudos
Message 1 of 3
(2,952 Views)
Solution
Accepted by topic author syedzeeshan

Use  (>.[^(<>)]*)<    * instead of +

Message 2 of 3
(2,933 Views)

Since it is solved, its fine. But please try to have the question in a single thread

-----

The best solution is the one you find it by yourself
0 Kudos
Message 3 of 3
(2,909 Views)