Topics   All   Mac OS X (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 7.3   7.4   7.5   8.0   8.1   8.2   8.3   8.4   8.5   9.0    Statistic  


Queries the named substring.

Component Version macOS Windows Server FileMaker Cloud FileMaker iOS SDK
RegEx 4.4 Yes Yes Yes Yes Yes
MBS( "RegEx.NamedSubstring"; RegExRef; Name )   More


Parameter Description Example value
RegExRef The reference number for the regular expression returned from RegEx.Compile. $regex
Name The name of the substring to find. "test"


Returns OK or error.


Queries the named substring.


Query text of named substring

$regex = MBS("RegEx.Compile"; "H(?P<name>.*)o"; 0)
$r = MBS("RegEx.Execute"; "Hello")
$text = MBS("RegEx.NamedSubstring"; $regex; "name")

See also

Created 26th October 2014, last changed 26th October 2014

RegEx.NameCount   -   RegEx.Options

Feedback: Report problem or ask question.

MBS Xojo tutorial videos