Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
12.2
12.3
12.4
12.5
13.0
13.1
13.2
13.3
13.4
13.5
Statistic
FMM
Blog
Queries a substring.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
RegEx | 4.4 | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |
Parameter | Description | Example |
---|---|---|
RegExRef | The reference number for the regular expression returned from RegEx.Compile. | $regex |
Index | The index for the substring. | 0 |
Returns text or error.
Find seller ID in an URL:
Let ([
pattern = "^http.*\?.*&seller=(.*)$";
text = "https://www.example.com.com/gp/aag/main/ref=olp_merch_name_2?ie=UTF8&astn=B8J070KLDO&isFulfilled=1&seller=A2XKMLD9HIY1T";
regex = MBS( "RegEx.Compile"; pattern; 512+1 );
r = MBS( "RegEx.Execute"; regex; text; 0 );
r = MBS( "RegEx.Substring"; regex; 1 );
f = MBS( "RegEx.Release"; regex )
] ; r )
This function checks for a license.
Created 26th October 2014, last changed 26th April 2023