Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Guides   Examples
New in version: 9.0   9.1   9.2   9.3   9.4   9.5   10.0   10.1   10.2   10.3    Statistic  


Queries number of names.

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


Parameter Description Example value
RegExRef The reference number for the regular expression returned from RegEx.Compile. $regex


Returns number or error.


Queries number of names.


Use a named group:

Set Variable [ $Pattern ; Value: "H(?P<MyName>.*)o" ]
Set Variable [ $Regex ; Value: MBS("RegEx.Compile"; $Pattern; "CaseLess") ]
Show Custom Dialog [ "Namecount" ; MBS( "RegEx.NameCount"; $RegEx ) ]
Set Variable [ $r ; Value: MBS("RegEx.Free"; $RegEx) ]

See also

Example Databases

Created 26th October 2014, last changed 25th November 2017

RegEx.MinimumLength   -   RegEx.NamedSubstring

Feedback: Report problem or ask question.

MBS Xojo Chart Plugins