Prelude API
    Preparing search index...

    Function searchReplace

    • Fuzzy search uses sliding window per search line to find the best match.

      Parameters

      • source: string

        The text to search in.

      • search: string

        The query to search for.

      • replacement: string

        The replacement text.

      Returns string

      The modified text with the query replaced by the replacement.