03-07-2008 05:27 AM
03-07-2008 05:53 AM
I have made a testvi with the Serach and Replace primitive. I also set to regluar expression. It is working as expected at least in LV8.5. xy.vi will give 2 as offset after replace and xy.v will give -1.
You said you will always get -1 I suggest to check the string if there is really the extention. Another reason is that you are not receiving the VI name but something else.
03-07-2008 09:03 AM - edited 03-07-2008 09:04 AM

03-10-2008 05:09 AM
03-10-2008 06:03 AM
rashid19672008 wrote:
I am passing this regular expression to search string input "\.(vit¦vi)" (without the quotes).
03-10-2008 06:33 AM
Hi Rod,
I have seen this difference in the characters in the image. I thought this is a matter of fonts used because on my german keyboard I only have this one: |. The other one is missing.