LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

How to do String Filtration with don't cares...?

Solved!
Go to solution

Hi,

 

I need a help on getting string filtration with don't cares. Attached a VI for ref.

 

If any one has string parsing expertise; i need your help. 

 

Thanks

SB_LV 

0 Kudos
Message 1 of 5
(3,722 Views)
Solution
Accepted by topic author Blessing_Star

Another fun one

 see the help file for regular expression

 

most fun.png

 

The Default case in the case select is

most fun2.png


"Should be" isn't "Is" -Jay
Message 2 of 5
(3,708 Views)

Hi Jeff,

 

Thanks for your help. It's really appreciated.

 

Any workaround with don't care values, if i add multiple xx (Ex.: xxxx8040xx or xxxx8040) in the filter. I've attached a VI  for reference.

 

Thanks

SB_LV 

0 Kudos
Message 3 of 5
(3,684 Views)

Funner.png

 

Just scan the search string and replace your "don't cares" with a regular expression "don't care"(period) :smileywink:


"Should be" isn't "Is" -Jay
Message 4 of 5
(3,665 Views)

How about just use Search and Replace String?  A VI using it is in LabVIEW examples or do a quick drop.  (In strings menu)

Message 5 of 5
(3,655 Views)