replaceAll<CapturedGroupArgs>
Replaces all occurrences of a search string or pattern with the results of an replacer function.
Import:
import { replaceAll } from 'obsidian-dev-utils/string';Signature:
function replaceAll(params: ReplaceAllParams<CapturedGroupArgs>): stringParameters:
| Parameter | Type | Description |
|---|---|---|
params | ReplaceAllParams<CapturedGroupArgs> | The parameters. |
Returns: string — The string with all replacements made.
Links to this page: