RegEx.SubstringList
-------------------

Returns list of substrings.

| Component | Version | macOS | Windows | Linux | Server | iOS SDK |
|---|---|---|---|---|---|---|
| [RegEx](component_RegEx.md) | [4.4](newinversion44.md) | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes | ✅ Yes |

MBS( "RegEx.SubstringList"; RegExRef ) 

**MBS**( **"RegEx.SubstringList";** /\* Returns list of substrings. \*/  
**$RegExRef**) /\* The reference number for the regular expression returned from [RegEx.Compile](RegExCompile.md).e.g. $regex \*/ 

### Parameters

| Parameter | Description | Example |
|---|---|---|
| RegExRef | The reference number for the regular expression returned from [RegEx.Compile](RegExCompile.md). | $regex |

### Result

Returns list or error.

### Description

Returns list of substrings.  
First item in the list is the whole match, followed by other lines for each substring.  
### See also

- [RegEx.Compile](RegExCompile.md)
- [RegEx.Substring](RegExSubstring.md)

### Example Databases

- [RegEx/RegEx](https://www.mbsplugins.eu/MBS-FileMaker-Plugin-Examples/RegEx/RegEx.shtml#2ScriptAnchor_)

This function checks for a license.

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

  
[RegEx.Substring](RegExSubstring.md) - [RegEx.Version](RegExVersion.md)

[HTML Version](RegExSubstringList.shtml)