Skip to main content

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​

InputTypeRequiredDefaultWhat it is
TextStringYesText to search.
FindStringYesText or pattern to find.
Use a patternBooleanNotrueFind is a regular expression.
Ignore caseBooleanNofalseUpper and lower case alike.
GroupNumberNo0Keep this bracket group of each match; 0 keeps the whole match.
UniqueBooleanNofalseKeep each match once.

Outputs​

OutputTypeWhat it is
matchesListThe matches, in order.
countNumberHow many.