LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Regular Expression

Solved!
Go to solution

Hello,

I encounter some difficulties to parse strings with a regular expression. I use Match Pattern for this.

 

A typical string would be: [{device:MyDevice}{state:OK}{uid:12.34~A56*}]
My regular expression in CPP is: {uid:(.+?)}

My match therefore becomes 12.34~A56*

However, in LabVIEW, impossible to retrieve my uid.

Could someone enlighten me on this?

Thank you

0 Kudos
Message 1 of 3
(1,261 Views)
Solution
Accepted by topic author syuiopwdfghj

Works for me.

Frozen_0-1652365394193.png

 

---------------------------------------------
Former Certified LabVIEW Developer (CLD)
Message 2 of 3
(1,245 Views)

Ok, my problem was not the regex but the wiring. I was watching the substring match 

0 Kudos
Message 3 of 3
(1,240 Views)