Example Code

Match Regular Expressions Example with substrings

Code and Documents

Attachment

Description

Hello All,

 

This is an example of how to use the "Match Regular Expression.vi", similar to the "Search String and Replace.vi" shipping example. The "Marth Regular Expressions" VI is used to match regular expressions in an input string. You can view more information about regular expressions and special characters in the on-line LabVIEW help here: https://www.ni.com/docs/en-US/bundle/labview/page/special-characters-for-match-regular-expression-an....

 

This example demonstrates not only a simple regular expression but the use of substrings as well.

 

Enjoy!

ScreenHunter_09 Jul. 08 15.55.jpg

ScreenHunter_10 Jul. 08 15.55.jpg

File is saved in version 8.0

With warm regards,

David D.

Example code from the Example Code Exchange in the NI Community is licensed with the MIT license.

Contributors