Home > Support > NI Product Manuals > LabVIEW Communications System Design Suite 1.0 Manual

Searches for a pattern of characters within a string as specified by a limited set of regular expressions. If this node finds a match, it splits the input string into three substrings: the string that appears before the match, the match itself, and the string that appears after the match.

connector_pane_image
datatype_icon

string

The input string to search.

datatype_icon

regular expression

The pattern for which you want to search in string. regular expression is limited to the following regular expression characters: . (period), ?, \, \b, \f, \n, \s, \r, \t, \xx, ^, [ ], +, *, and $. Furthermore, this parameter does not support character grouping, alternate pattern matching, backreferences, or non-greedy quantification.

Definitions of Special Characters

What Happens When There Is No Match?

Examples of Allowable Regular Expressions

datatype_icon

offset

The number of characters into the input string at which this node begins its operation.

The offset of the first character in the input string is 0.

If offset is beyond the end of the input string, this node returns an empty string.

Default: 0

datatype_icon

before substring

A string containing all the characters in string that occur before the match.

datatype_icon

match substring

First string after offset that matches the pattern specified by regular expression.

datatype_icon

after substring

A string containing all characters in string that follow the match.

datatype_icon

offset past match

The index in string of the first character of after substring. If the node does not find a match, offset past match is -1.