Find all matches
Every place a text or pattern occurs, as a list: all invoice numbers, e-mail addresses or amounts in a text.
Command in the String toolkit · id ooa.string/find_all · 6 inputs (2 required), 2 outputs
Inputs
| Input | Type | Required | Default | What it is |
|---|---|---|---|---|
| Text | String | Yes | Text to search. | |
| Find | String | Yes | Text or pattern to find. | |
| Use a pattern | Boolean | No | true | Find is a regular expression. |
| Ignore case | Boolean | No | false | Upper and lower case alike. |
| Group | Number | No | 0 | Keep this bracket group of each match; 0 keeps the whole match. |
| Unique | Boolean | No | false | Keep each match once. |
Outputs
| Output | Type | What it is |
|---|---|---|
| matches | List | The matches, in order. |
| count | Number | How many. |