Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/dtils/mod.ts>regexReplace

The best unofficial library of utilities for Deno applications
Go to Latest
function regexReplace
import { regexReplace } from "https://deno.land/x/dtils@1.6.1/mod.ts";

Parameters

string: string
regex: RegExp
replacer: (match: string, ...groups: string[]) => string