Student Projects

Showing results for 
Search instead for 
Did you mean: 

String manipulation using Regular Expression (RegEx) in LabVIEW


This document consists of LabVIEW VIs which offers some String operations using Match Regular Expression Function node.



A regular expression (sometimes called a rational expression) is a sequence of characters that define a search pattern, mainly for use in pattern matching with strings, or string matching, i.e. “find and replace”-like operations. Regular expressions are a generalized way to match patterns with sequences of characters. It is used in every programming language like C++, Java, Python, and even in LabVIEW G.


Already standard set of Regular Expressions for performing pattern matching are available on the Internet. But you can learn and write your RegEx for desired String manipulations. Look below in the reference section to know more about it.


Hardware and Software Requirements:

1. Windows 10 Operating System.

2. LabVIEW 2017 and higher versions.


Steps to Implement or Execute Code:

1. Download the attachments and open the vi files in LabVIEW.

2. Follow the instructions given in the free label or from the context help(ctrl+h or by clicking ?)

and hover over to VI icon to know more about that particular VI.


Additional Information or References:

To learn more about Regular Expressions follow this link,


To learn how to write Regular Expressions on your own follow this link,