LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Searching for the '$' character in a regex

Solved!
Go to solution

There are two things at play here:  escaping for LV and escaping for the Regex.

 

You want the regex to be '\$ ' exactly, the dollar sign must be escaped for the regex.

 

If you are using normal display for the string you can enter '\$ ' and it will work.

If you are using '\' code display then you must escape the '\' inside the regex, in this case enter '\\$\s'

 

Two different views of the same string, you can toggle the display mode to see it switch between the two values.

0 Kudos
Message 11 of 11
(741 Views)