Example Code

Extracting DBL Data from A String Using Regular Expression Pattern Matching

Code and Documents

Attachment

Download All

Overview
This example demonstrates how to match the floating point with a string.

 


Description
This example shows the use of a regular expression to match any floating point (DBL) number that is being transmitted as a string.

  


Requirements

  • LabVIEW 2012 (or compatible)


Steps to Implement or Execute Code

  1. Download the attached folder to your computer
  2. Open the VI "Regex 2012 NIVerified.vi"
  3. Run the VI

 

Additional Information or References
VI Sinppet

 Block Diagram.PNG

 

 **This document has been updated to meet the current required format for the NI Code Exchange.**

Stephen C
Applications Engineer

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